[CDRIVER-398] bson_init_from_json() missing error Created: 30/Jul/14  Updated: 19/Oct/16  Resolved: 29/Sep/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.2

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Mira Carey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When seeding bson_init_from_json() with an json array it fails, but the result error is garbage.

Would be great if _bson_json_read_start_array() would actually bubble up the error!



 Comments   
Comment by Mira Carey [ 12/Sep/14 ]

https://github.com/mongodb/libbson/commit/a15493b653899bfed459e526f2bd8b295d3227cf

Generated at Wed Feb 07 21:09:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.