Project

General

Profile

Actions

Bug #5739

open

htp: handle alloc failure for user data

Added by Victor Julien about 2 years ago. Updated over 1 year 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: implement 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 about 2 years ago

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

Actions #2

Updated by Philippe Antoine almost 2 years ago

Actions #3

Updated by Philippe Antoine almost 2 years ago

Should this wait for #2696 ?

Actions #4

Updated by Victor Julien over 1 year ago

  • Parent task deleted (#4952)
Actions #5

Updated by Victor Julien over 1 year 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