Bug 3661

Summary: Error while performing BusyBox update on gentoo server
Product: Busybox Reporter: Linda <douganla>
Component: NetworkingAssignee: unassigned
Status: RESOLVED INVALID    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.17.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description Linda 2011-04-26 19:30:41 UTC
I received this notice while updating BusyBox-how do I fix it?


>>> Completed installing busybox-1.17.4 into /var/tmp/portage/sys-apps/busybox-1.17.4/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   bin/bb
   bin/busybox

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * archival/libunarchive/filter_accept_list_reassign.c:32: warning: array subscript is above array bounds
 * coreutils/date.c:325: warning: array subscript is above array bounds
 * coreutils/stty.c:1146: warning: array subscript is above array bounds
 * coreutils/test.c:816: warning: array subscript is above array bounds
 * editors/vi.c:1068: warning: array subscript is above array bounds
 * editors/vi.c:1142: warning: array subscript is above array bounds
 * editors/vi.c:1143: warning: array subscript is above array bounds
 * init/init.c:847: warning: array subscript is above array bounds
 * init/init.c:901: warning: array subscript is above array bounds
 * libbb/appletlib.c:717: warning: array subscript is above array bounds
 * libbb/read_printf.c:345: warning: array subscript is above array bounds
 * libbb/read_printf.c:347: warning: array subscript is above array bounds
 * miscutils/mt.c:95: warning: array subscript is above array bounds
 * networking/ifupdown.c:851: warning: array subscript is above array bounds
 * networking/ifupdown.c:947: warning: array subscript is above array bounds
 * networking/nc_bloaty.c:754: warning: array subscript is above array bounds
 * util-linux/fsck_minix.c:596: warning: array subscript is above array bounds
 * util-linux/fsck_minix.c:1013: warning: array subscript is above array bounds
 * util-linux/fsck_minix.c:963: warning: array subscript is above array bounds
 * util-linux/getopt.c:259: warning: array subscript is above array bounds
 * util-linux/mdev.c:518: warning: array subscript is above array bounds
 * util-linux/mount.c:1230: warning: array subscript is above array bounds
 * util-linux/rtcwake.c:157: warning: array subscript is above array bounds
 * util-linux/rtcwake.c:182: warning: array subscript is above array bounds
 * libbb/appletlib.c:717: warning: array subscript is above array bounds

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://www.busybox.net/
Comment 1 Denys Vlasenko 2011-05-09 01:12:08 UTC
> I received this notice while updating BusyBox-how do I fix it?

By looking at each individual warning and deciding whether it's a bug, then:

* if it is, produce a patch which fixes it

* else, produce a patch which changes code so that gcc doesn't think it's a potential bug

Then send patches to the mailing list.

Closing this.