Project

General

Profile

Actions

Bug #169

closed

memory leak in HTTP handling

Added by Victor Julien over 14 years ago. Updated over 14 years ago.

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

Description

The HTTP (HTP) module is leaking memory on looking up the server configuration.

18927 182,796 bytes in 15,233 blocks are definitely lost in loss record 865 of 874
18927 at 0x4024C1C: malloc (vg_replace_malloc.c:195)
18927 by 0x81AA1A4: SCRadixAllocSCRadixUserData (util-radix-tree.c:142)
18927 by 0x81AACDD: SCRadixCreatePrefix (util-radix-tree.c:252)
18927 by 0x81AF3A4: SCRadixFindKey (util-radix-tree.c:1469)
18927 by 0x81AF620: SCRadixFindKeyIPV4BestMatch (util-radix-tree.c:1549)
18927 by 0x8232499: HTPHandleRequestData (app-layer-htp.c:318)
18927 by 0x822BC32: AppLayerDoParse (app-layer-parser.c:655)
18927 by 0x822D3FB: AppLayerParse (app-layer-parser.c:861)
18927 by 0x821FBB8: AppLayerHandleMsg (app-layer.c:145)
18927 by 0x820304F: StreamTcpReassembleProcessAppLayer (stream-tcp-reassemble.c:1911)
18927 by 0x81EDE2B: StreamTcpPacket (stream-tcp.c:2509)
18927 by 0x81EE045: StreamTcp (stream-tcp.c:2527)

Files

Actions #1

Updated by Gurvinder Singh over 14 years ago

Attached fixes the memory leaks in htp and radix tree.

Actions #2

Updated by Victor Julien over 14 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

Applied, thanks Gurvinder.

Actions

Also available in: Atom PDF