[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 |