[BusyBox] Bug in libbb/getopt_ulflags.c?

Vladimir N. Oleynik dzo at simtreas.ru
Thu Feb 5 12:25:57 UTC 2004


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.


--w
vodz

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: last_patch126
Url: http://lists.busybox.net/pipermail/busybox/attachments/20040205/2f82765d/attachment.diff 


More information about the busybox mailing list