Project

General

Profile

Actions

Bug #5739

open

htp: handle alloc failure for user data

Added by Victor Julien over 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Can we close the tx/session if the user data alloc fails?


Related issues 2 (1 open1 closed)

Related to Suricata - Feature #2696: http parser in rustIn ProgressPhilippe AntoineActions
Related to Suricata - Bug #4952: scan-build: Access to field 'de_state' results in a dereference of a null pointerClosedVictor JulienActions
Actions #1

Updated by Philippe Antoine over 1 year ago

Should Suricata tx be rather HtpTxUserData and have a pointer to libhtp 's the_tx_t structure ?

Actions #2

Updated by Philippe Antoine over 1 year ago

Actions #3

Updated by Philippe Antoine about 1 year ago

Should this wait for #2696 ?

Actions #4

Updated by Victor Julien 12 months ago

  • Parent task deleted (#4952)
Actions #5

Updated by Victor Julien 12 months ago

  • Related to Bug #4952: scan-build: Access to field 'de_state' results in a dereference of a null pointer added
Actions

Also available in: Atom PDF