Project

General

Profile

Actions

Bug #7664

open

detect: coverity Dereference before null check

Added by Philippe Antoine 2 months ago. Updated 16 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

Actions #1

Updated by Victor Julien 16 days ago

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

Also available in: Atom PDF