Project

General

Profile

Actions

Optimization #5920

closed
JF PA

investigate: check and fix unhandled divisions by 0

Optimization #5920: investigate: check and fix unhandled divisions by 0

Added by Juliana Fajardini Reichow about 3 years ago. Updated over 2 years ago.

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

Description

Suri code may have some places where configurable values might be zero, leading to divisions by zero that
are not handled properly.


Related issues 3 (0 open3 closed)

Related to Suricata - Bug #5919: flow/manager: fix unhandled division by 0 (prealloc: 0)ClosedJuliana Fajardini ReichowActions
Related to Suricata - Bug #6255: flow: possible divide by zero at start upClosedPhilippe AntoineActions
Copied to Suricata - Optimization #6190: flow_spare_pool_block_size is a constant defined as a variableClosedOISF DevActions

JF Updated by Juliana Fajardini Reichow about 3 years ago Actions #1

  • Related to Bug #5919: flow/manager: fix unhandled division by 0 (prealloc: 0) added

JF Updated by Juliana Fajardini Reichow about 3 years ago Actions #2

  • Tracker changed from Bug to Optimization

PA Updated by Philippe Antoine almost 3 years ago Actions #3

  • Copied to Optimization #6190: flow_spare_pool_block_size is a constant defined as a variable added

PA Updated by Philippe Antoine almost 3 years ago Actions #4

  • Assignee changed from OISF Dev to Philippe Antoine
  • Target version changed from TBD to 8.0.0-beta1

PA Updated by Philippe Antoine almost 3 years ago Actions #5

  • Status changed from New to In Review

PA Updated by Philippe Antoine almost 3 years ago Actions #6

  • Target version changed from 8.0.0-beta1 to 7.0.1

PA Updated by Philippe Antoine over 2 years ago Actions #7

https://github.com/OISF/suricata/pull/9253 merged, coverity apparently found one still lurking to be fixed

PA Updated by Philippe Antoine over 2 years ago Actions #8

  • Related to Bug #6255: flow: possible divide by zero at start up added

PA Updated by Philippe Antoine over 2 years ago Actions #9

  • Status changed from In Review to Closed

#6255 is the last case to fix, so closing this one

Actions

Also available in: PDF Atom