Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 16 Aug 2012 20:23:49 -0400 (EDT)
From: jfoug@....net
To: john-dev@...ts.openwall.com
Subject: Re: Serious wordlist.c bug fixed (all branches)


On Thu, Aug 16, 2012 at 3:52 PM, magnum wrote:


> I just committed a large-ish patch to magnum-jumbo that changes nearly
> all uses of free() (as well as some macros) to MEM_FREE.
>
> Dhiru, all, please use MEM_FREE from now on.


It is not just using the MEM_FREE macro. It also entails using 
alloc_mem() when approparate, and alloc_mem_tiny() or mem_calloc_tiny() 
in other instances, and knowing when it is approate to use each.  also 
using str_alloc_copy, vs strdup.  Those seem to be the larger culprits.

Jim.

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ