Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 11:20:35 -0700 (PDT)
From:      Allan Saddi <allan@saddi.com>
To:        ports@freebsd.org
Subject:   openssh-portable 3.6.1p2_5 crash
Message-ID:  <20030926111246.U3930@kalahari.flup.org>

next in thread | raw e-mail | index | archive | help
Hi there,

I just upgraded from 3.6.1p2_4 to 3.6.1p2_5 on RELENG_4_8 and
sshd now segfaults whenever I try to login:

Sep 26 09:59:05 kalahari sshd: pam_set_item: NULL pam handle  passed
Sep 26 09:59:05 kalahari /kernel: pid 1789 (sshd), uid 0: exited on signal 11

After a bit of investigating, it seems that the renaming of
start_pam() to old_start_pam() in auth-pam.c seems to be the
cause. Since auth-pam.c's start_pam() is no longer being called,
__pamh is NULL when auth_pam_password() is called.

I'm not too familiar with OpenSSH or PAM, so I can't suggest a
fix yet. Hopefully someone who is more familiar knows what's up?

Thanks.

-- 
Allan Saddi                 "The Earth is the cradle of mankind,
allan@saddi.com              but we cannot live in the cradle
http://www.saddi.com/allan/  forever." - K.E. Tsiolkovsky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030926111246.U3930>