[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BUG][PATCH] SEGV in kill during args parsing
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-12-22 12:01:47
Message-ID: CAK1hOcPo1XZwnqXwe+s5gt8SgZT6ERD4JLi=-BOHvsrJzaPVrg () mail ! gmail ! com
[Download RAW message or body]

On Wed, Dec 21, 2011 at 3:14 PM, Alexey Fomenko
<ext-alexey.fomenko@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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic