Project

General

Profile

Actions

Bug #7664

closed
PA PA

detect: coverity Dereference before null check

Bug #7664: detect: coverity Dereference before null check

Added by Philippe Antoine about 1 year ago. Updated 12 days ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

CID 1645613

In detect.c
CID 1645613: (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking next_s suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
752 if (next_s)
753 match_array--;

Not sure if we should simply remove the check

VJ Updated by Victor Julien 11 months ago Actions #1

  • Target version changed from 8.0.0-rc1 to 9.0.0-beta1

PA Updated by Philippe Antoine 9 months ago Actions #2

  • Affected Versions 8.0.0 added

VJ Updated by Victor Julien 6 months ago Actions #3

  • Status changed from New to Assigned

PA Updated by Philippe Antoine 3 months ago Actions #4

Wanted to check if it was still the case but

Coverity Scan is down

PA Updated by Philippe Antoine 14 days ago Actions #5

  • Status changed from Assigned to In Review

PA Updated by Philippe Antoine 12 days ago Actions #6

  • Status changed from In Review to Closed
  • Assignee changed from Victor Julien to Philippe Antoine
Actions

Also available in: PDF Atom