Openmoko Bug #2226: [passwd] crashes (glibc-free()) when NEW password length > 8
Openmoko Public Trac
bugs at docs.openmoko.org
Fri Jan 30 14:06:08 CET 2009
#2226: [passwd] crashes (glibc-free()) when NEW password length > 8
---------------------+------------------------------------------------------
Reporter: leadman | Owner: julian_chu
Type: defect | Status: new
Priority: normal | Milestone: Om2008.12
Component: Distro | Version: current svn head
Severity: normal | Keywords: passwd glibc free crash aborted feeds gdb backtrace strace
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible: always
---------------------+------------------------------------------------------
1) Images: daily , testing, 2009.01.20
testing-om-gta02-20090120.uImage.bin
openmoko-testing-om-gta02.rootfs.jffs2
2) Description:
as an unprivileged user, `passwd` command crashes when changing password
to new one, which is longer than 8 characters. Seems to be NOT affected
when calling `passwd` as root.
3) Steps to reproduce:
root at om-gta02:~# adduser test
root at om-gta02:~# passwd test
Changing password for test
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password: /* I have entered password of 10
characters length */
Re-enter new password: /* I have entered password of 10
characters length */
Password changed.
root at om-gta02:~# su test /* OR root at om-gta02:~# su - test */
test at om-gta02:~$ passwd
Changing password for test
Old password:
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password: /* I have entered password of 10
characters length */
*** glibc detected *** passwd: free(): invalid next size (fast):
0x0001f878 ***
Aborted
( Above is pretty self explaining, but well, if you guys really need
this... here are next steps.)
4) Current result
Currently unprivileged user is unable to change his/her password
5) Expected result
Unprivileged user is expected to be able to change his/her password
6) Reproducible
Always
Attachements:
gdb-passwd.txt
list_installed.txt
opkg
strace-passwd.txt
./opkg:
all-feed.conf
arch.conf
armv4t-feed.conf
Multiverse-feed.conf
navit-feed.conf
om-gta02-feed.conf
P.S.I couldn't find info what to fill into "Blocking" "CC"(my email?) and
"Blocked by"
--
Kind regards
LeadMan
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2226>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list