[
https://issues.apache.org/jira/browse/THRIFT-3464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Sukegawa updated THRIFT-3464:
---------------------------------
Description:
* serialize/deserializing empty binary fields caused SegFault
* serialize/deserializing list<enum> caused SegFault
* some service method arguments were not freed
* const for struct and containers was unfinished and broken
* map/set of int8/int16 caused invalid memory access and incorrect key
hash/equality
-container of enum element was using enum value as pointer, making it unusable-
The statement about enum map/set was incorrect.
It is inconsitent with the others and can be dangerous in this regard, but
actually usable as is.
So I removed that part of the change from the patch.
was:
* serialize/deserializing empty binary fields caused SegFault
* const for struct and containers was unfinished and broken
* map/set of int8/int16 caused invalid memory access and incorrect key
hash/equality
* container of enum element was using enum value as pointer, making it unusable
> Fix several defects in c_glib code generator
> --------------------------------------------
>
> Key: THRIFT-3464
> URL: https://issues.apache.org/jira/browse/THRIFT-3464
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Compiler, C glib - Library
> Reporter: Aki Sukegawa
> Assignee: Aki Sukegawa
>
> * serialize/deserializing empty binary fields caused SegFault
> * serialize/deserializing list<enum> caused SegFault
> * some service method arguments were not freed
> * const for struct and containers was unfinished and broken
> * map/set of int8/int16 caused invalid memory access and incorrect key
> hash/equality
> -container of enum element was using enum value as pointer, making it
> unusable-
> The statement about enum map/set was incorrect.
> It is inconsitent with the others and can be dangerous in this regard, but
> actually usable as is.
> So I removed that part of the change from the patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)