Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
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.


Related issues 1 (0 open1 closed)

Copied to Suricata - Bug #4531: segv with --set cmdline option if incorrect key is providedClosedJeff LucovskyActions
Actions #1

Updated by Philippe Antoine over 3 years ago

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)
Actions #2

Updated by Philippe Antoine over 3 years ago

  • Status changed from Assigned to In Review
  • Label Needs backport to 5.0, Needs backport to 6.0 added
Actions #3

Updated by Shivani Bhardwaj over 3 years ago

  • Assignee changed from Shivani Bhardwaj to Philippe Antoine
Actions #5

Updated by Jeff Lucovsky over 3 years ago

  • Label deleted (Needs backport to 5.0)
Actions #6

Updated by Jeff Lucovsky over 3 years ago

  • Copied to Bug #4531: segv with --set cmdline option if incorrect key is provided added
Actions

Also available in: Atom PDF