Project

General

Profile

Actions

Bug #4525

closed
SB PA

segv with --set cmdline option if incorrect key is provided

Bug #4525: segv with --set cmdline option if incorrect key is provided

Added by Shivani Bhardwaj almost 5 years ago. Updated almost 5 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

PA Updated by Philippe Antoine almost 5 years ago Actions #1

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)

PA Updated by Philippe Antoine almost 5 years ago Actions #2

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

SB Updated by Shivani Bhardwaj almost 5 years ago Actions #3

  • Assignee changed from Shivani Bhardwaj to Philippe Antoine

JL Updated by Jeff Lucovsky almost 5 years ago Actions #5

  • Label deleted (Needs backport to 5.0)

JL Updated by Jeff Lucovsky almost 5 years ago Actions #6

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

Also available in: PDF Atom