-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.1.2
-
Component/s: None
-
None
libmongoc limits wtimeout to a signed, 32-bit integer.
We already throw an exception if wtimeout is negative, but we should also throw if the value is > INT32_MAX; otherwise, input might be silently truncated.