In _bson_json_read_string(), bson_ascii_strtoll() is called and errno is later compared with ERANGE to check for an out-of-range value. Internally, bson_ascii_strtoll() never actually sets ERANGE and appears to have no logic for detecting range errors.
- is depended on by
-
PHPC-1957 Add tests for out-of-range UTCDateTime values
- Closed
- related to
-
CDRIVER-1378 Accept NULL endptr in bson_ascii_strtoll()
- Closed