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

Coverity analysis defect 120616: Out-of-bounds read

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-09-20

    Description

      Out-of-bounds read

      Incorrect values read from a different memory region will cause incorrect computations. Out-of-bounds read from a buffer
      /src/mongo/bson/util/simple8b_type_util.cpp:200: OVERRUN 120616 Checking "size > 16UL" implies that "size" may be up to 16 on the false branch.
      /src/mongo/bson/util/simple8b_type_util.cpp:205: OVERRUN 120616 Overrunning array of 16 bytes at byte offset 16 by dereferencing pointer "arr + size".

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: