Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25846

Coverity analysis defect 99861: Dereference after null check

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      Pointer is checked against null but then dereferenced anyway

      Defect 99861 (STATIC_C)
      Checker FORWARD_NULL (subcategory none)
      File: /src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c
      Function __wt_cond_wait_signal
      /src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c, line: 67
      Comparing "session" to null implies that "session" might be null.

          	if (session != NULL) {

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              xgen-internal-coverity Coverity Collector User
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: