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

Coverity 1374542: Dereference after null check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.3, 3.5.9
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage 2017-05-08

      Description

      Coverity false positive:

      1188         */
          	8. Condition start == NULL, taking true branch
      1189        if (start == NULL) {
          	
      CID 1374542 (#1 of 1): Dereference after null check (FORWARD_NULL)
      9. var_deref_op: Dereferencing null pointer stop.
      1190                WT_ERR(__session_open_cursor(
      1191                    (WT_SESSION *)session, stop->uri, NULL, NULL, &start));
      1192                local_start = true;
          	CID 1357531: Explicit null dereferenced (FORWARD_NULL) [select issue]
      1193                WT_ERR(start->next(start));
      1194        }
      

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: