Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3931

Check for a null document in bson_parser_parse

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.18.0, 1.18.0-alpha
    • Affects Version/s: None
    • Component/s: None
    • None

      The bson test util bson_parser_parse can run BSON_FOREACH on a NULL document causing an error in BSON_ASSERT. A check should be added to verify the document isn't NULL.

            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: