Actions
Bug #1660
closedsegv when using --set on a list
Affected Versions:
Effort:
Difficulty:
Label:
Description
suricata -c /etc/suricata/suricata.yaml -i eth0 --set logging.outputs.1.file.enabled=yes --set logging.outputs.1.file.filename=/tmp/suricata.log --set logging.outputs.file.type=json
ASAN:SIGSEGV ================================================================= ==41826== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f83ff1ef02b sp 0x7ffecced1d30 bp 0x7ffecced1d70 T0) AddressSanitizer can not provide additional info. #0 0x7f83ff1ef02a (/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0+0xf02a) #1 0x65d00a (/home/victor/sync/devel/eidps/src/suricata+0x65d00a) #2 0x1252965 (/home/victor/sync/devel/eidps/src/suricata+0x1252965) #3 0x11f42f3 (/home/victor/sync/devel/eidps/src/suricata+0x11f42f3) #4 0x7f83fd16fec4 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21ec4) #5 0x407d48 (/home/victor/sync/devel/eidps/src/suricata+0x407d48) ==41826== ABORTING
Changing the last param to --set logging.outputs.1.file.type=json works.
Updated by Jason Ish almost 9 years ago
Fixed by doing some NULL garding in ConfNodeLookupChild - keeps the calling loop cleaner.
Updated by Victor Julien almost 9 years ago
- Status changed from Assigned to Closed
- Target version changed from 70 to 3.0.1RC1
- % Done changed from 0 to 100
Actions