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

Coverity analysis defect 120616: Out-of-bounds read

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • Execution Team 2021-09-20

      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".

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

              Created:
              Updated:
              Resolved: