-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Client, Internal Code
-
None
-
Fully Compatible
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
In BufBuilder there is a method appendNum(bool) defined as such:
void appendNum(bool j) { *((bool*)grow(sizeof(bool))) = j; }
The C++ standard explicitly states that the size of a bool is implementation defined. This method should be removed or rewritten, and the codebase should be audited for any uses of it.