[Toybox] [PATCH] login: don't segfault on unknown user.

enh enh at google.com
Mon Feb 22 16:47:09 PST 2021


Previously we'd unconditionally dereference pwd, which can be NULL.
---
 toys/other/login.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210222/999172fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-login-don-t-segfault-on-unknown-user.patch
Type: text/x-patch
Size: 821 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210222/999172fe/attachment.bin>


More information about the Toybox mailing list