Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11091

Coverity analysis defect 135341: Out-of-bounds read

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • 2023-05-30 - 7.0 Readiness
    • v7.0

      Out-of-bounds read

      Incorrect values read from a different memory region will cause incorrect computations. Out-of-bounds read from a buffer
      /src/third_party/wiredtiger/src/session/session_dhandle.c:404: OVERRUN 135341 Checking "cval.len == 0UL" implies that "cval.len" is at least 1 on the false branch.
      /src/third_party/wiredtiger/src/session/session_dhandle.c:496: OVERRUN 135341 Checking "cval.len > strlen("WiredTigerCheckpoint")" implies that "cval.len" is at least 21 on the true branch.
      /src/third_party/wiredtiger/src/session/session_dhandle.c:505: OVERRUN 135341 Overrunning array ""WiredTigerCheckpoint"" of 21 bytes at byte offset 21 using index "cval.len" (which evaluates to 21).

            Assignee:
            monica.ng@mongodb.com Monica Ng
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: