[BUG][PATCH] SEGV in kill during args parsing

Denys Vlasenko vda.linux at googlemail.com
Thu Dec 22 12:01:47 UTC 2011


On Wed, Dec 21, 2011 at 3:14 PM, Alexey Fomenko
<ext-alexey.fomenko at nokia.com> wrote:
> That's all. While parsing arguments, in a try to translate given symbols
> to a PID number there is a case when recently created pointer *end for the
> unparsed part of argline doesn't get assigned (after bb_strtol tests the very
> first symbol and fails, bb_strtol will return ret_EEANGE without assigning
> endp: maybe, it would be safier to patch libbb/bb_strtonum.c to prevent such
> cases in other placec ?)

I made this change in git.
-- 
vda


More information about the busybox mailing list