Project

General

Profile

Actions

Bug #1975

closed

hostbits/xbits memory leak

Added by Victor Julien almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Direct leak of 1080 byte(s) in 45 object(s) allocated from:
    #0 0x7fb3302b7602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
    #1 0x6ee8ac in HostBitAdd /home/victor/dev/suricata/src/host-bit.c:98
    #2 0x6eefff in HostBitSet /home/victor/dev/suricata/src/host-bit.c:134
    #3 0x6540f1 in DetectHostbitMatchSet /home/victor/dev/suricata/src/detect-hostbits.c:163
    #4 0x654c6d in DetectXbitMatchHost /home/victor/dev/suricata/src/detect-hostbits.c:249
    #5 0x6c7068 in DetectXbitMatch /home/victor/dev/suricata/src/detect-xbits.c:172
    #6 0x575935 in SigMatchSignaturesRunPostMatch /home/victor/dev/suricata/src/detect.c:554
    #7 0x57b849 in SigMatchSignatures /home/victor/dev/suricata/src/detect.c:1530
    #8 0x57c569 in DetectFlow /home/victor/dev/suricata/src/detect.c:1663
    #9 0x57cc15 in Detect /home/victor/dev/suricata/src/detect.c:1738
    #10 0x6ea28a in FlowWorker /home/victor/dev/suricata/src/flow-worker.c:232
    #11 0x86d835 in TmThreadsSlotVarRun /home/victor/dev/suricata/src/tm-threads.c:128
    #12 0x86f6d0 in TmThreadsSlotVar /home/victor/dev/suricata/src/tm-threads.c:585
    #13 0x7fb32e8f1709 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7709)
Actions

Also available in: Atom PDF