Skip null check, per coverity

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.1, 5.0.4, 4.4.10, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      Dereference before null check

      There may be a null pointer dereference, or else the comparison against null is unnecessary. All paths that lead to this null pointer comparison already dereference the pointer earlier
      /ext/extractors/csv/csv_extractor.c:154: REVERSE_INULL 120743 Directly dereferencing pointer "parser".
      /ext/extractors/csv/csv_extractor.c:198: REVERSE_INULL 120743 Null-checking "parser" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

              Assignee:
              Donald Anderson
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: