[PATCH] NGROUPS_MAX will cause stack overflow

Mike Frysinger vapier at gentoo.org
Wed Dec 28 22:06:17 UTC 2005


On Wednesday 28 December 2005 17:03, Peter S. Mazinger wrote:
> On Wed, 28 Dec 2005, Aubrey wrote:
> > On 12/27/05, Mike Frysinger <vapier at gentoo.org> wrote:
> > > thanks, ive committed a slightly different version of this as well
> >
> > Oops, just now I found my patch has problem when malloc(0).
>
> Shouldn't this depend on MALLOC_GLIBC_COMPAT?

it could use that option, but we'd only save a few bytes when said option is 
enabled, and the resulting #ifdef mess probably isnt worth it ...
-mike



More information about the uClibc mailing list