Fixed in Feisty by merging this change from Debian:
pam (0.79-3.2) unstable; urgency=low
* Non-maintainer upload to fix important bug, that makes passwd segfault
when CTRL-D is pressed at the password prompt. Applied the patch
provided by Dann Frazier. (Closes: #360657)
--
** Changed in: pam (Debian)
Status: Unknown = Fix Released
--
/usr/bin/passwd crashes with a segmentation fault if given null input
https://launchpad.net/bugs/59730
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
** Bug watch added: Debian Bug tracker #338810
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338810
** Also affects: pam (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338810
Importance: Unknown
Status: Unknown
--
/usr/bin/passwd crashes with a segmentation
Moved to pam.
This bug is in libpam-modules. pam_unix.so, read_string() return NULL on
CTRL-D
** Changed in: shadow (Ubuntu)
Sourcepackagename: shadow = pam
Status: Unconfirmed = Confirmed
--
/usr/bin/passwd crashes with a segmentation fault if given null input