Project

General

Profile

Actions

Bug #7664

open
PA VJ

detect: coverity Dereference before null check

Bug #7664: detect: coverity Dereference before null check

Added by Philippe Antoine 12 months ago. Updated 2 months ago.

Status:
Assigned
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

VJ Updated by Victor Julien 10 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 2 months ago Actions #4

Wanted to check if it was still the case but

Coverity Scan is down

Actions

Also available in: PDF Atom