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

Use-after-move in Helpers::findOne

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.2
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2018-02-12
    • 0

      In this code, we call qr->asFindCommand().toString() after qr has been moved. This can result in a segfault.

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

              Created:
              Updated:
              Resolved: