"Alfred M. Szmidt" <[EMAIL PROTECTED]> wrote:
> While having a hard time to sleep, I started to read obscure bits of
> code in coreutils.  And found this funny compiler error in
> [kernel]/lib/getgroups.c at line 51:
>
>       /* No need to worry about address arithmetic overflow here,
>        since the ancient systems that we're running on have low
>        limits on the number of secondary groups.  */
>       gbuf = xmalloc (gbuf, n * sizeof *gbuf);
>
> I suppose that nobody has ever used that code, since compiling would
> catch the fact that xmalloc only takes one argument! :-)

Thank you.
I've applied Paul's patch for the coreutils, too.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to