Investigate whether BSON can fail to parse if an undefined document field contains a nested document or array

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Related to GODRIVER-1235.

      Investigate whether BSON parsing can fail if a source BSON document contains a document field that is not represented in the target struct and that document contains a nested document or array. Verify that unmarshalling in this case does not fail or incorrectly skip too many fields.

      You'll want to examine value_reader.go and the Skip() function on line 330.

              Assignee:
              Benji Rewis (Inactive)
              Reporter:
              Benji Rewis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: