[
https://issues.apache.org/jira/browse/THRIFT-3464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043644#comment-15043644
]
Hudson commented on THRIFT-3464:
--------------------------------
SUCCESS: Integrated in Thrift #1758 (See
[https://builds.apache.org/job/Thrift/1758/])
THRIFT-3464 Fix several defects in c_glib code generator Client: c_glib (nsuke:
rev ba3fe86b0ab50fa5e934debe9c3bca185ca9b704)
* lib/c_glib/test/testserialization.c
* compiler/cpp/src/generate/t_c_glib_generator.cc
* lib/c_glib/test/Makefile.am
* test/c_glib/src/thrift_test_handler.c
* lib/c_glib/src/thrift/c_glib/thrift.h
* test/OptionalRequiredTest.thrift
* test/EnumTest.thrift
* lib/c_glib/test/testoptionalrequired.c
* lib/c_glib/src/thrift/c_glib/thrift.c
* lib/c_glib/test/CMakeLists.txt
> 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
> Fix For: 1.0
>
>
> * 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)