[Bug 14726] Blank password in /etc/passwd results in no username displayed in a prompt

bugzilla at busybox.net bugzilla at busybox.net
Wed Apr 20 14:48:02 UTC 2022


https://bugs.busybox.net/show_bug.cgi?id=14726

--- Comment #1 from Oliver Endriss <o.endriss at gmx.de> ---
Note that all functions which get the user name from /etc/passwd are affected:
ls -l, ps, whoami, etc.

The bug was introduced by commit c9fc15359ef8fe5aa98ab0308c1563d9bcf99bb8

With this commit, nth_string() does not longer work with an empty field in the
middle of the line, for example an empty password field in /etc/password.

Please revert this commit!

Regards,
Oliver

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list