Coverity analysis defect 120616: Out-of-bounds read

XMLWordPrintableJSON

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

      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
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: