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

Fix null dereference in __wt_cell_unpack_safe and disable packing with feature flag (CID 134149)

    • 1
    • Storage Engines - 2022-11-28

      Dereference after null check

      Either the check against null is unnecessary, or there may be a null pointer dereference. Pointer is checked against null but then dereferenced anyway
      /src/include/cell_inline.h:710: FORWARD_NULL 134149 Comparing "unpack_addr" to null implies that "unpack_addr" might be null.
      /src/include/cell_inline.h:939: FORWARD_NULL 134149 Dereferencing null pointer "unpack_addr".

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

              Created:
              Updated:
              Resolved: