Actions
Bug #1689
closed
AG
AG
Stack overflow in case of variables misconfiguration
Bug #1689:
Stack overflow in case of variables misconfiguration
Affected Versions:
Effort:
Difficulty:
Label:
Description
When 'vars' section in configuration file is incorrect, a stack overflow error may occur. For instance:
vars:
HOME_NET: "!$HOME_NET"
This is undefined and recursive declaration. Suricata tries to resolve a variable, calling DetectAddressParse2() again and again until stack space is exhausted and segmentation fault occurs. No error messages are given and user can't see what went wrong.
Valgrind reports:
11392 Stack overflow in thread #1: can't grow stack to 0xffe80100011392
11392 Process terminating with default action of signal 11 (SIGSEGV)
AG Updated by Alexander Gozman about 10 years ago
VJ Updated by Victor Julien about 10 years ago
- Subject changed from [3.0] Stack overflow in case of variables misconfiguration to Stack overflow in case of variables misconfiguration
- Status changed from New to Closed
- Assignee set to Alexander Gozman
Actions