[Bug 3223] insmod/modprobe incorrectly parses several parameters in kernel 2.4
bugzilla at busybox.net
bugzilla at busybox.net
Sun Feb 13 03:05:49 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=3223
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
- p = skip_whitespace(p);
- if (*p != ',')
- break;
+ if (*p != '\0') {
+ p = skip_whitespace(p);
+ if (*p != ',')
+ break;
+ }
p = skip_whitespace(p + 1);
And if *p == '\0' because we genuinely reached terminating NUL, not because we
replaces ',' with '\0', then what p = skip_whitespace(p + 1) do?
--
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