Project

General

Profile

Actions

Bug #2003

closed

BUG_ON body sometimes contains side-effectual code

Added by Ryan R almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Example: https://github.com/inliniac/suricata/blob/master/src/flow-worker.c#L98

When running without assertions enabled, this will cause those necessary portions of the code not to run and a failure somewhere else.

Actions #1

Updated by Victor Julien almost 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Victor Julien
  • Priority changed from Normal to High
  • Target version set to 3.2.1

Good catch. Working on a fix/workaround.

Actions

Also available in: Atom PDF