Project

General

Profile

Actions

Bug #1660

closed

segv when using --set on a list

Added by Victor Julien almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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.

Actions

Also available in: Atom PDF