Bug #4525
closed
segv with --set cmdline option if incorrect key is provided
Added by Shivani Bhardwaj over 3 years ago.
Updated over 3 years ago.
Label:
Needs backport to 6.0
Description
Example:
sudo ./src/suricata --set outputs.eve-json.types.files.force-magic=yes -i wlp0s20f3
gives Segmentation Fault.
Stack trace is
AddressSanitizer:DEADLYSIGNAL
=================================================================
==52362==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00010ce3d7a0 bp 0x7ffee44a2590 sp 0x7ffee44a1d10 T0)
==52362==The signal is caused by a READ memory access.
==52362==Hint: address points to the zero page.
#0 0x10ce3d79f in wrap_strcmp (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1679f)
#1 0x10babf278 in MacSetRegisterFlowStorage util-macset.c:69
#2 0x10ba6a4f9 in PostConfLoadedSetup suricata.c:2488
#3 0x10ba6c94a in SuricataMain suricata.c:2767
#4 0x7fff4fcf6014 in start (libdyld.dylib:x86_64+0x1014)
- Status changed from Assigned to In Review
- Label Needs backport to 5.0, Needs backport to 6.0 added
- Assignee changed from Shivani Bhardwaj to Philippe Antoine
- Status changed from In Review to Closed
- Label deleted (
Needs backport to 5.0)
- Copied to Bug #4531: segv with --set cmdline option if incorrect key is provided added
Also available in: Atom
PDF