Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 14 May 2012 07:05:55 -0500
From: "jfoug" <>
To: <>
Subject: RE: Debugging memory leaks

>There seem to be numerous memory leaks in the libclamav code I use in
>RAR. Unfortunately their normal case is a valid archive whereas our
>normal case is random data. In many cases, an early reject results in
>leaked memory.
>I have some vague memories of a discussion about giving mem_alloc_tiny a
>"saved state" feature that would probably be perfect here. It could also
>be a performance boost - unrar makes lots of miniscule allocs.

Is alloca a possibility here?  Or is the size of mem alloc's too much?

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.