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

Coverity analysis defect 114181: Explicit null dereferenced

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc9, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Storage - Ra 2020-06-15

      Dereference of an explicit null value

      Defect 114181 (STATIC_C)
      Checker FORWARD_NULL (subcategory deref_constant_null)
      File: /test/checkpoint/workers.c
      Function real_worker
      /test/checkpoint/workers.c, line: 245
      Dereferencing null pointer "session".

                  if ((ret = session->open_cursor(session, g.cookies[j].uri, NULL, NULL, &cursors[j])) != 0) {
      

      File: /test/checkpoint/workers.c
      Function real_worker
      /test/checkpoint/workers.c, line: 314
      Dereferencing null pointer "session".

              if ((t_ret = session->close(session, NULL)) != 0 && ret == 0) {
      

            Assignee:
            ravi.giri@mongodb.com Ravi Giri
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: