Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <004d01cd31c9$eaa91730$bffb4590$@net>
Date: Mon, 14 May 2012 07:05:55 -0500
From: "jfoug" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
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.