Project

General

Profile

Actions

Bug #4734

closed

pfring: memory leak

Added by Victor Julien over 2 years ago. Updated 2 months ago.

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

Description

Oct 06 08:57:54 c2758 suricata[10914]: ==10914==ERROR: LeakSanitizer: detected memory leaks
Oct 06 08:57:54 c2758 suricata[10914]: Direct leak of 10000 byte(s) in 4 object(s) allocated from:
Oct 06 08:57:54 c2758 suricata[10914]:     #0 0x7f601e0a8b40 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40)
Oct 06 08:57:54 c2758 suricata[10914]:     #1 0x55ac5dfb80ba in SCMallocFunc /home/victor/dev/suricata/src/util-mem.c:30
Oct 06 08:57:54 c2758 suricata[10914]:     #2 0x55ac5e056399 in PacketGetFromAlloc /home/victor/dev/suricata/src/decode.c:152
Oct 06 08:57:54 c2758 suricata[10914]:     #3 0x55ac5df83bd6 in PacketPoolInit /home/victor/dev/suricata/src/tmqh-packetpool.c:323
Oct 06 08:57:54 c2758 suricata[10914]:     #4 0x55ac5df86750 in TmThreadsSlotPktAcqLoop /home/victor/dev/suricata/src/tm-threads.c:242
Oct 06 08:57:54 c2758 suricata[10914]:     #5 0x7f601c51c6da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
Oct 06 08:57:54 c2758 suricata[10914]: Direct leak of 832 byte(s) in 8 object(s) allocated from:
Oct 06 08:57:54 c2758 suricata[10914]:     #0 0x7f601e0a8b40 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40)
Oct 06 08:57:54 c2758 suricata[10914]:     #1 0x55ac5dfb80ba in SCMallocFunc /home/victor/dev/suricata/src/util-mem.c:30
Oct 06 08:57:54 c2758 suricata[10914]:     #2 0x55ac5e28b0b8 in ReceivePfringThreadInit /home/victor/dev/suricata/src/source-pfring.c:493
Oct 06 08:57:54 c2758 suricata[10914]:     #3 0x55ac5df869ef in TmThreadsSlotPktAcqLoop /home/victor/dev/suricata/src/tm-threads.c:258
Oct 06 08:57:54 c2758 suricata[10914]:     #4 0x7f601c51c6da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
Oct 06 08:57:54 c2758 suricata[10914]: SUMMARY: AddressSanitizer: 10832 byte(s) leaked in 12 allocation(s).

Subtasks 1 (0 open1 closed)

Bug #6812: pfring: memory leak (7.0.x backport)ClosedJason IshActions
Actions

Also available in: Atom PDF