Project

General

Profile

Actions

Bug #1985

closed

pcap-log: minor memory leaks

Added by Victor Julien about 8 years ago. Updated about 8 years ago.

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

Description

Indirect leak of 2736 byte(s) in 57 object(s) allocated from:
    #0 0x7f7b2a34979a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
    #1 0x716548 in PcapLogInitRingBuffer /home/victor/dev/suricata/src/log-pcap.c:613
    #2 0x7189ed in PcapLogDataInit /home/victor/dev/suricata/src/log-pcap.c:733
    #3 0x795868 in OutputPacketLogThreadInit /home/victor/dev/suricata/src/output-packet.c:147
    #4 0x73baf8 in OutputLoggerThreadInit /home/victor/dev/suricata/src/output.c:950
    #5 0x6e9a9d in FlowWorkerThreadInit /home/victor/dev/suricata/src/flow-worker.c:108
    #6 0x86f22c in TmThreadsSlotVar /home/victor/dev/suricata/src/tm-threads.c:541
    #7 0x7f7b28983709 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7709)

Indirect leak of 2088 byte(s) in 58 object(s) allocated from:
    #0 0x7f7b2a31330f in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x6230f)
    #1 0x716928 in PcapLogInitRingBuffer /home/victor/dev/suricata/src/log-pcap.c:619
    #2 0x7189ed in PcapLogDataInit /home/victor/dev/suricata/src/log-pcap.c:733
    #3 0x795868 in OutputPacketLogThreadInit /home/victor/dev/suricata/src/output-packet.c:147
    #4 0x73baf8 in OutputLoggerThreadInit /home/victor/dev/suricata/src/output.c:950
    #5 0x6e9a9d in FlowWorkerThreadInit /home/victor/dev/suricata/src/flow-worker.c:108
    #6 0x86f22c in TmThreadsSlotVar /home/victor/dev/suricata/src/tm-threads.c:541
    #7 0x7f7b28983709 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7709)
Actions #1

Updated by Victor Julien about 8 years ago

  • Status changed from Assigned to Closed
  • Target version changed from 70 to 3.2.1
Actions

Also available in: Atom PDF