[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: CDRIVER-1140 visit_all doesn't report invalid key
Branch: master
https://github.com/mongodb/libbson/commit/080cad58f5f586cb27897e8c4038786a97e55bc6

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