-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
I was debugging a problem when I accidentally ran this query:
{"$oid":"57146936ba7cb24509006ac1"}
This query is obviously invalid because it misses the
{"_id": ... }
part. However I did not expect it to crash my client:
> bson/bson.c:1405 bson_append_oid(): precondition failed: key
Abort trap: 6
Is it expected that certain invalid queries will make
mongoc_collection_find
exit the client?
- is related to
-
CDRIVER-1123 Defective JSON string lets API bson_json_reader_read() crashed rather than returning error
- Closed
- related to
-
CDRIVER-697 Turn on basic err checking in release build
- Closed