[PATCH] NGROUPS_MAX will cause stack overflow

Robin Getz rgetz at blackfin.uclinux.org
Thu Dec 15 15:40:26 UTC 2005


Mike Frysinger wrote:
>Robin Getz forwarded the report to us earlier

I asked Aubrey to make the patch - as he was the one who found the the 
issue - he should be the person who makes the patch, & gets his name in the 
contributors file.

Aubrey wrote:
>2005-12-15 Aubrey.Li <aubreylee at gmail.com>
>               * libc/inet/rpc/auth_unix.c: using malloc to alloc memory 
> for gids.
>Index: libc/inet/rpc/auth_unix.c


Aubrey/Mike:

I think the same issue exists in
./uClibc/libc/sysdeps/linux/common/setgroups.c:setgroups

which is used in many uClinux user space applications. Can you confirm you 
see the same issue? If so, Aubrey, can you make/test/send a patch?

Thanks
-Robin 




More information about the uClibc mailing list