I built the protobuf compiler and test suites today with the
MemorySanitizer in Clang, and ran into an issue with uninitialized
variables in protobuf/src/google/protobuf/stubs/statusor_test.cc.

Both StatusOr.TestPointerCopyCtorStatusNotOkConverting
and StatusOr.TestPointerAssignmentStatusNotOkConverting are failing.  It
looks like they are failing because value_ isn't initialized in the first
StatusOr<>.  When you convert a Derived* to a Base2*, it then triggers the
compiler to modify the pointer and that looks like it triggers the failure.

I don't think this is a real issue, but I'm not sure.  Any advice?


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to