From owner-freebsd-current Tue Jun 12 9:45:32 2001 Delivered-To: freebsd-current@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 1462D37B403; Tue, 12 Jun 2001 09:45:07 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from mail.uic-in.net (root@[212.35.189.4]) by kalaid.f2f.com.ua (8.11.3/8.11.1) with ESMTP id f5CGkRP22388; Tue, 12 Jun 2001 19:46:31 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (das0-l44.uic-in.net [212.35.189.171]) by mail.uic-in.net (8.11.3/8.11.3) with ESMTP id f5CGiuo70875; Tue, 12 Jun 2001 19:44:57 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.4/8.11.3) with ESMTP id f5CGi8103384; Tue, 12 Jun 2001 19:44:08 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3B2646D7.6915A84A@FreeBSD.org> Date: Tue, 12 Jun 2001 19:44:08 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: current@FreeBSD.org, markm@FreeBSD.org Subject: PAM causes segfault in login(1) Content-Type: multipart/mixed; boundary="------------5B31A36C096832CA9EEF558F" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------5B31A36C096832CA9EEF558F Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Hi, I've noticed that new PAM segfaults when I'm typing non-existing login at console login prompt. Please fix. -Maxim --------------5B31A36C096832CA9EEF558F Content-Type: text/plain; charset=koi8-r; name="log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="log" FreeBSD/i386 (big_brother) (ttyv0) login: max1 pid 372 (login), uid 0: exited on signal 11 (core dumped) FreeBSD/i386 (big_brother) (ttyv0) login: max Password: Welcome to FreeBSD! Erase is backspace. bash-2.05$ gdb /usr/bin/login /tmp/core GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `login'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libutil.so.3...(no debugging symbols found)... done. Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols found)... done. Reading symbols from /usr/lib/libpam.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.5...(no debugging symbols found)...done. Reading symbols from /usr/lib/pam_nologin.so...(no debugging symbols found)... done. Reading symbols from /usr/lib/pam_unix.so...done. Reading symbols from /usr/lib/pam_permit.so...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x28074e33 in crypt_md5 () from /usr/lib/libcrypt.so.2 (gdb) bt #0 0x28074e33 in crypt_md5 () from /usr/lib/libcrypt.so.2 #1 0x28074c94 in crypt () from /usr/lib/libcrypt.so.2 #2 0x28132aee in pam_sm_authenticate (pamh=0x8055000, flags=0, argc=1, argv=0x804f100) at pam_unix.c:95 #3 0x2807bae5 in pam_getenvlist () from /usr/lib/libpam.so.1 #4 0x2807bdf1 in _pam_dispatch () from /usr/lib/libpam.so.1 #5 0x2807b18b in pam_authenticate () from /usr/lib/libpam.so.1 #6 0x804ae41 in free () #7 0x8049fea in free () #8 0x8049b61 in free () (gdb) up #1 0x28074c94 in crypt () from /usr/lib/libcrypt.so.2 (gdb) up #2 0x28132aee in pam_sm_authenticate (pamh=0x8055000, flags=0, argc=1, argv=0x804f100) at pam_unix.c:95 95 crypt(password, "xx"); (gdb) print password $1 = 0x1
(gdb) q bash-2.05$ --------------5B31A36C096832CA9EEF558F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message