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

enh enh at google.com
Tue Feb 23 00:47:09 UTC 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/attachments/20210222/999172fe/attachment.htm>
-------------- 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/attachments/20210222/999172fe/attachment.bin>


More information about the Toybox mailing list