You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* check return value of bson_init_static
CID: 100057
* check return value of malloc
CID: 100087
* add bounds check to ensure int32_t fits in size_t
CID: 112395
* check return value of bson_iter_init
CID: 115840, 115848, 115851, 115853
* check bounds on return value from sysconf
CID: 134019
* check return when calling pthread_once/InitOnceExecuteOnce
CID: 138314
* explicit cast to int64_t
CID: 138986
* bounds check when summing return from send()
CID: 138989
* acquire mutex before modifying topology
CID: 156373
* ensure a NULL pointer is not dereferenced
CID: 157950
* static cast to ensure proper comparison
Co-authored-by: vector-of-bool <[email protected]>
* remove wrapping macros
* use BSON_ASSERT instead of Boolean check for opt
* also check return value of calloc
* use bson_malloc rather than plain malloc
Co-authored-by: Kevin Albertson <[email protected]>
* drop redundant mongo_common_once defitions, use bson_once instead
* rather than assert, test against INT_MAX and provide a suitable error message
* tighter asserts
Co-authored-by: Kevin Albertson <[email protected]>
* tighter asserts
Co-authored-by: Kevin Albertson <[email protected]>
* use bson_free instead of free
* tighter asserts
* revert inadequate concurrency fix
---------
Co-authored-by: vector-of-bool <[email protected]>
Co-authored-by: Kevin Albertson <[email protected]>
0 commit comments