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

Fix invalid BSON read bug in appendCommandStatusNoThrow

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • RnD Security 2025-03-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-100435 introduced a bug where a temporary BSONObj acquired from BSONObjBuilder is being read from even after the builder has modified its underlying buffer. This leads to a bad BSONElement type exception that gets thrown when reading from the stale temp BSONObj.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None