[BusyBox] Bug in libbb/getopt_ulflags.c?
Erik Andersen
andersen at codepoet.org
Thu Feb 5 13:50:09 UTC 2004
On Thu Feb 05, 2004 at 03:25:57PM +0300, Vladimir N. Oleynik wrote:
> Hi.
>
> >You are exactly correct. In rev 1.5 of libbb/getopt_ulflags.c
> >the variable 'complementaly' used to be allocated with calloc,
> >(which zeroed it during the allocation process). When vodz
> >changed it to be allocated on the stack, he forgot to explicitly
> >zero it out,
>
> Ok. I found my mistake :(
> The trivial patch attached.
Cool thanks,
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list