Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1805

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      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@mongodb.com Benji Rewis (Inactive)
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: