Thinkfinger causes odd sudo -S behavior

Bug #257788 reported by Jacob Torrey
2
Affects Status Importance Assigned to Milestone
thinkfinger (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am running Ubuntu 8.04 with sudo version 1.6.9p10 and thinkfinger-tools 0.3+r118-0ubuntu3. When I try to use sudo with the -S flag and pipe it a password, I get the following error:

~$ echo foo | sudo -S whoami
Password or swipe finger:
*** glibc detected *** sudo: malloc(): memory corruption: 0x08074e10 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7dfa356]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x8d)[0xb7dfbcad]
/lib/tls/i686/cmov/libc.so.6[0xb7e1f51a]
/lib/tls/i686/cmov/libc.so.6(opendir+0x63)[0xb7e1f653]
/lib/libusb-0.1.so.4(usb_os_find_busses+0x22)[0xb7bfb642]
/lib/libusb-0.1.so.4(usb_find_busses+0x1f)[0xb7bf8a9f]
/usr/lib/libthinkfinger.so.0[0xb7c63850]
/usr/lib/libthinkfinger.so.0(libthinkfinger_verify+0x67)[0xb7c63e37]
/lib/security/pam_thinkfinger.so[0xb7c677c2]
/lib/tls/i686/cmov/libpthread.so.0[0xb7c044fb]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7e64e5e]
======= Memory map: ========
08048000-08062000 r-xp 00000000 08:01 2179692 /usr/bin/sudo
08062000-08064000 rw-p 00019000 08:01 2179692 /usr/bin/sudo
08064000-08087000 rw-p 08064000 00:00 0 [heap]
b6b87000-b6b88000 ---p b6b87000 00:00 0
b6b88000-b7388000 rw-p b6b88000 00:00 0
b7388000-b7392000 r-xp 00000000 08:01 3473472 /lib/libgcc_s.so.1
b7392000-b7393000 rw-p 0000a000 08:01 3473472 /lib/libgcc_s.so.1
b7393000-b7394000 ---p b7393000 00:00 0
b7394000-b7b94000 rw-p b7394000 00:00 0
b7b94000-b7bab000 r-xp 00000000 08:01 3473533 /lib/libselinux.so.1
b7bab000-b7bad000 rw-p 00016000 08:01 3473533 /lib/libselinux.so.1
b7bad000-b7bb6000 r-xp 00000000 08:01 3498366 /lib/tls/i686/cmov/libcrypt-2.7.so
b7bb6000-b7bb8000 rw-p 00008000 08:01 3498366 /lib/tls/i686/cmov/libcrypt-2.7.so
b7bb8000-b7bdf000 rw-p b7bb8000 00:00 0
b7bdf000-b7bea000 r-xp 00000000 08:01 3474084 /lib/security/pam_unix.so
b7bea000-b7beb000 rw-p 0000b000 08:01 3474084 /lib/security/pam_unix.so
b7beb000-b7bf7000 rw-p b7beb000 00:00 0
b7bf7000-b7bfd000 r-xp 00000000 08:01 3473550 /lib/libusb-0.1.so.4.4.4
b7bfd000-b7bff000 rw-p 00005000 08:01 3473550 /lib/libusb-0.1.so.4.4.4
b7bff000-b7c13000 r-xp 00000000 08:01 3498388 /lib/tls/i686/cmov/libpthread-2.7.so
b7c13000-b7c15000 rw-p 00013000 08:01 3498388 /lib/tls/i686/cmov/libpthread-2.7.so
b7c15000-b7c17000 rw-p b7c15000 00:00 0
b7c26000-b7c2f000 r-xp 00000000 08:01 3498379 /lib/tls/i686/cmov/libnss_files-2.7.so
b7c2f000-b7c31000 rw-p 00008000 08:01 3498379 /lib/tls/i686/cmov/libnss_files-2.7.so
b7c31000-b7c39000 r-xp 00000000 08:01 3498383 /lib/tls/i686/cmov/libnss_nis-2.7.so
b7c39000-b7c3b000 rw-p 00007000 08:01 3498383 /lib/tls/i686/cmov/libnss_nis-2.7.so
b7c3b000-b7c4f000 r-xp 00000000 08:01 3498373 /lib/tls/i686/cmov/libnsl-2.7.so
b7c4f000-b7c51000 rw-p 00013000 08:01 3498373 /lib/tls/i686/cmov/libnsl-2.7.so
b7c51000-b7c53000 rw-p b7c51000 00:00 0
b7c53000-b7c5a000 r-xp 00000000 08:01 3498375 /lib/tls/i686/cmov/libnss_compat-2.7.so
b7c5a000-b7c5c000 rw-p 00006000 08:01 3498375 /lib/tls/i686/cmov/libnss_compat-2.7.so
b7c62000-b7c65000 r-xp 00000000 08:01 2179115 /usr/lib/libthinkfinger.so.0.0.0
b7c65000-b7c66000 rw-p 00002000 08:01 2179115 /usr/lib/libthinkfinger.so.0.0.0
b7c66000-b7c68000 r-xp 00000000 08:01 3473501 /lib/security/pam_thinkfinger.so
b7c68000-b7c69000 rw-p 00001000 08:01 3473501 /lib/security/pam_thinkfinger.so
b7c6b000-b7caa000 r--p 00000000 08:01 2212721 /usr/lib/locale/en_US.utf8/LC_CTYPE
b7caa000-b7cab000 r--p 00000000 08:01 2212726 /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7cab000-b7cac000 r--p 00000000 08:01 2212729 /usr/lib/locale/en_US.utf8/LC_TIME
b7cac000-b7d8d000 r--p 00000000 08:01 2212720 /usr/lib/locale/en_US.utf8/LC_COLLATE
b7d8d000-b7d8e000 rw-p b7d8d000 00:00 0
b7d8e000-b7ed7000 r-xp 00000000 08:01 3498362 /lib/tls/i686/cmov/libc-2.7.so
b7ed7000-b7ed8000 r--p 00149000 08:01 3498362 /lib/tls/i686/cmov/libc-2.7.so
b7ed8000-b7eda000 rw-p 0014a000 08:01 3498362 /lib/tls/i686/cmov/libc-2.7.so
b7eda000-b7ede000 rw-p b7eda000 00:00 0
b7ede000-b7ee0000 r-xp 00000000 08:01 3498368 /lib/tls/i686/cmov/libdl-2.7.so
b7ee0000-b7ee2000 rw-p 00001000 08:01 3498368 /lib/tls/i686/cmov/libdl-2.7.so
b7ee2000-b7eeb000 r-xp 00000000 08:01 3473511 /lib/libpam.so.0.81.6
b7eeb000-b7eec000 rw-p 00008000 08:01 3473511 /lib/libpam.so.0.81.6
b7eec000-b7eed000 r--p 00000000 08:01 2212724 /usr/lib/locale/en_US.utf8/LC_MONETARY
b7eed000-b7eee000 r--p 00000000 08:01 2220036 /usr/lib/locale/en_US.uAborted

This is a IBM T60 with the built-in FPR. Any help would be great, thanks in advance

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.