Details
-
Bug
-
Resolution: Done
-
Critical - P2
-
None
-
2.2.0
-
None
-
gcc 4.4.5, boost 1.42, debian 6 64bits
-
ALL
-
Description
The union used in the definition of the OID object (oid.h) is not properly aligned and leads to "uninitialized value" in valgrind and not expected behavior. This is critical because mongodb C++ driver OID data is broken.
More on data alignment here: http://en.wikipedia.org/wiki/Data_structure_alignment