[Toybox] [PATCH] Fix bug in names_to_pid.

enh enh at google.com
Mon Mar 12 09:13:41 PDT 2018


Found by the compiler, not me:

  lib/lib.c:1053:30: warning: 'st2.st_dev' may be used uninitialized
in this function [-Wmaybe-uninitialized]
         if (st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) continue;
                           ~~~^~~~~~~
---
 lib/lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-bug-in-names_to_pid.patch
Type: text/x-patch
Size: 995 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180312/820367f7/attachment-0002.bin>


More information about the Toybox mailing list