[Bug 5312] Installing 1.20.1 on Gentoo Linux triggers severe warnings

bugzilla at busybox.net bugzilla at busybox.net
Mon Jun 18 22:57:25 UTC 2012


--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> 2012-06-18 22:57:25 UTC ---
Thee warnings seem to be bogus.

"libbb/single_argv.c:13:17: warning: array subscript is above array bounds"

char* FAST_FUNC single_argv(char **argv)
        if (argv[1] && strcmp(argv[1], "--") == 0)
        if (!argv[1] || argv[2])
        return argv[1];

I don't see how gcc arrived to this conclusion.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list