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

Coverity analysis defect 114158: Uninitialized pointer read

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc6, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 1
    • Storage - Ra 2020-05-18

      Reads an uninitialized pointer or its target

      Defect 114158 (STATIC_C)
      Checker UNINIT (subcategory pointer_deref_read)
      File: /src/btree/bt_page.c
      Function __inmem_row_leaf
      /src/btree/bt_page.c, line: 535
      Declaring variable "buf" without initializer.

              WT_ITEM buf;
      

      File: /src/btree/bt_page.c
      Function __inmem_row_leaf
      /src/btree/bt_page.c, line: 535
      Declaring variable "buf" without initializer.

              WT_ITEM buf;
      

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: