Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86619

Document::shouldSkipDeleted() accesses string without checking for missingg

    • Query Execution
    • Fully Compatible
    • ALL
    • v7.3, v7.2, v7.0, v6.0, v5.0, v4.4
    • 135

      This line accesses the field name's 0th element (which came from the collection) but did not check if the string was empty. I haven't managed to repro this yet, but I believe this is the cause of a recent BF, and it's worth fixing regardless.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: