Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Jun 2011 08:06:20 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: passwd/getgrent_a.c bug

On Thu, Jun 30, 2011 at 12:23:34PM +0200, Szabolcs Nagy wrote:
> * Szabolcs Nagy <nsz@...t70.net> [2011-06-30 12:18:42 +0200]:
> > * Szabolcs Nagy <nsz@...t70.net> [2011-06-30 12:03:03 +0200]:
> > > +	*mem = calloc(**mem, *nmem+2);
> > 
> > s/**mem/sizeof **mem/
> 
> this is a better fix

It's still wrong. See if the attached patch fixes it.

Rich

View attachment "getgrent_a.diff" of type "text/plain" (597 bytes)

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.