-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.1.2
-
Component/s: None
-
None
The BSON specification defines a timestamp's components as two 32-bit integer values (timestamp and increment). If a 64-bit integer is passed on an allowing platform, the values could be silently truncated to uint32_t types when calling bson_append_timestamp(). We should throw an exception if the arguments exceed the range of 32-bit integers.