[CDRIVER-1140] bson_iter_visit_all doesn't report invalid key Created: 26/Feb/16 Updated: 13/Mar/16 Resolved: 13/Mar/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libbson |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Given a field name that's not valid UTF-8, bson_iter_visit_all should execute the "visit_corrupt" callback and return false. Instead, it cancels iteration and returns true, as if the document ended correctly at the previous field. |
| Comments |
| Comment by Githook User [ 29/Feb/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |