Project

General

Profile

Actions

Optimization #5920

closed

investigate: check and fix unhandled divisions by 0

Added by Juliana Fajardini Reichow almost 2 years ago. Updated over 1 year 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 (1 open2 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 variableNewOISF DevActions
Actions #1

Updated by Juliana Fajardini Reichow almost 2 years ago

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

Updated by Juliana Fajardini Reichow almost 2 years ago

  • Tracker changed from Bug to Optimization
Actions #3

Updated by Philippe Antoine over 1 year ago

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

Updated by Philippe Antoine over 1 year ago

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

Updated by Philippe Antoine over 1 year ago

  • Status changed from New to In Review
Actions #6

Updated by Philippe Antoine over 1 year ago

  • Target version changed from 8.0.0-beta1 to 7.0.1
Actions #7

Updated by Philippe Antoine over 1 year ago

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

Actions #8

Updated by Philippe Antoine over 1 year ago

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

Updated by Philippe Antoine over 1 year ago

  • Status changed from In Review to Closed

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

Actions

Also available in: Atom PDF