[Bug 4105] chpasswd segmentation fault

bugzilla at busybox.net bugzilla at busybox.net
Sun Sep 11 01:12:07 UTC 2011


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

--- Comment #2 from mrother at mail.com  ---
This bug report is a consequence of a TinyCoreLinux user complaint:
    http://forum.tinycorelinux.net/index.php/topic,11318

To recreate you'd need to boot TC v3.8.3
(http://distro.ibiblio.org/tinycorelinux/3.x/archive/3.8.3/tinycore_3.8.3.iso),
as the current version has a patch
(http://distro.ibiblio.org/tinycorelinux/3.x/release/src/busybox-1.19.0_chpasswd.patch)
applied. You will have to enter in a shell a command like:
    echo tc:pw | sudo chpasswd -m
to see a 'Segmenation fault' after the 'Password for 'tc' changed' message.

BTW, this is not my patch, I only helped to narrow down the issue. I used a
pretty nasty approach to pick out a "culprit": I "sprinkled" a few 'printf()'
statements into the code until I was sufficiently confident to be able to put
some blame on a single statement. Just looking at the code I was not able to
support my finding.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list