Project

General

Profile

Actions

Bug #3924

closed

asan leak htp_connp_create

Added by Peter Manev about 4 years ago. Updated about 4 years ago.

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

Description

affected: 6.0-rc1

Full details in the attached file

                                                                                                                                                                                                           =================================================================                                                                                                                                        [162/1881]
==19123==ERROR: LeakSanitizer: detected memory leaks                                                                                                                                                               

Indirect leak of 784 byte(s) in 2 object(s) allocated from:                                                                                                                                                        
    #0 0x57c6da in calloc (/usr/local/bin/suricata+0x57c6da)                                                                                                                                                       
    #1 0x7feae63a56d8 in htp_connp_create /opt/suricata/libhtp/htp/htp_connection_parser.c:78:26                                                                                                                   
    #2 0x666307 in Setup /opt/suricata/src/app-layer-htp.c:829:21                                                                                                                                                  
    #3 0x659091 in HTPHandleRequestData /opt/suricata/src/app-layer-htp.c:879:13                                                                                                                                   
    #4 0x67dff2 in AppLayerParserParse /opt/suricata/src/app-layer-parser.c:1233:30                                                                                                                                
    #5 0x5c4e7e in TCPProtoDetect /opt/suricata/src/app-layer.c:458:17                                                                                                                                             
    #6 0x5c2b6b in AppLayerHandleTCPData /opt/suricata/src/app-layer.c:627:13                                                                                                                                      
    #7 0xb5dfb5 in ReassembleUpdateAppLayer /opt/suricata/src/stream-tcp-reassemble.c:1167:15                                                                                                                      
    #8 0xb5c18b in StreamTcpReassembleAppLayer /opt/suricata/src/stream-tcp-reassemble.c:1228:12                                                                                                                   
    #9 0xb63ee7 in StreamTcpReassembleHandleSegmentUpdateACK /opt/suricata/src/stream-tcp-reassemble.c:1802:9                                                                                                      
    #10 0xb63b70 in StreamTcpReassembleHandleSegment /opt/suricata/src/stream-tcp-reassemble.c:1845:9
    #11 0xb388fb in HandleEstablishedPacketToClient /opt/suricata/src/stream-tcp.c:2445:9
    #12 0xafa5f9 in StreamTcpPacketStateEstablished /opt/suricata/src/stream-tcp.c:2678:13
    #13 0xadd719 in StreamTcpStateDispatch /opt/suricata/src/stream-tcp.c:4672:17
    #14 0xad3e13 in StreamTcpPacket /opt/suricata/src/stream-tcp.c:4861:13
    #15 0xade91c in StreamTcp /opt/suricata/src/stream-tcp.c:5197:11
    #16 0x985977 in FlowWorkerStreamTCPUpdate /opt/suricata/src/flow-worker.c:364:5
    #17 0x9848bd in FlowWorker /opt/suricata/src/flow-worker.c:524:9
    #18 0xb8e24e in TmThreadsSlotVarRun /opt/suricata/src/tm-threads.c:117:21
    #19 0xaaf1b2 in TmThreadsSlotProcessPkt /opt/suricata/src/./tm-threads.h:192:17
    #20 0xaa80a0 in AFPParsePacketV3 /opt/suricata/src/source-af-packet.c:1113:9
    #21 0xaa6717 in AFPWalkBlock /opt/suricata/src/source-af-packet.c:1128:15
    #22 0xa9e040 in AFPReadFromRingV3 /opt/suricata/src/source-af-packet.c:1178:15
    #23 0xa9bc17 in ReceiveAFPLoop /opt/suricata/src/source-af-packet.c:1571:17
    #24 0xb9baaf in TmThreadsSlotPktAcqLoop /opt/suricata/src/tm-threads.c:312:13
    #25 0x7feae5874fa2 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7fa2)

Files

bug-3924 (22.4 KB) bug-3924 Peter Manev, 09/13/2020 07:36 AM
Actions

Also available in: Atom PDF