/[Apache-SVN]
ViewVC logotype

Revision 1179909


Jump to revision: Previous Next
Author: jfarrell
Date: Fri Oct 7 00:25:46 2011 UTC (12 years, 6 months ago)
Changed paths: 1
Log Message:
Thrift-1379: fix uninitialized enum values in thrift C++ objects
Client: cpp
Patch: Dave Watson

The thrift-generated code for C++ class objects does not provide any
initialization for enum values, so they wind up containing random/uninitialized
data. This causes problems when clients do not send argument data, as the server
receives random data rather than zero for unpassed args.
Enums should be initialized to zero.



Changed paths

Path Details
Directorythrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26