[Toybox] [PATCH] killall: fix a logic error in names_to_pid().

enh enh at google.com
Tue Jul 26 15:59:35 PDT 2022


This broke a lot of tests in postsubmit, and even seems to have had the
effect of causing reboots (presumably by accidentally killing init)
which made it quite hard to track down.

Sadly I'm too stupid by this point in the afternoon to come up with the
missing test :-(
---
 lib/lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-killall-fix-a-logic-error-in-names_to_pid.patch
Type: text/x-patch
Size: 1008 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220726/1c31e4c3/attachment.bin>


More information about the Toybox mailing list