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

Coverity analysis defect 136435: Uninitialized pointer read in __wt_hs_verify

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • 2023-04-18 Leviosa Not Leviosa

      Uninitialized pointer read

      Incorrect values could be read from, or even written to, an arbitrary memory location, causing incorrect computations. Reads an uninitialized pointer or its target
      /src/history/hs_verify.c:157: UNINIT 136435 Declaring variable "uri_data" without initializer.
      /src/history/hs_verify.c:209: UNINIT 136435 Assigning: "__p" = "&uri_data", which points to uninitialized data.
      /src/history/hs_verify.c:209: UNINIT 136435 Using uninitialized value "*((void **)__p)".

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: