Project

General

Profile

Actions

Bug #7664

open

detect: coverity Dereference before null check

Added by Philippe Antoine 8 days ago.

Status:
New
Priority:
Normal
Assignee:
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

No data to display

Actions

Also available in: Atom PDF