bin/112694: segfault in pam_lastlog(8) on sshd exit when no
pty allocated
Christopher Cowart
ccowart at rescomp.berkeley.edu
Tue Apr 15 17:30:03 UTC 2008
The following reply was made to PR bin/112694; it has been noted by GNATS.
From: Christopher Cowart <ccowart at rescomp.berkeley.edu>
To: Jaakko Heinonen <jh at saunalahti.fi>
Cc: bug-followup at FreeBSD.org
Subject: Re: bin/112694: segfault in pam_lastlog(8) on sshd exit when no
pty allocated
Date: Tue, 15 Apr 2008 10:25:38 -0700
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Jaakko Heinonen wrote:
> I can't reproduce this on 7.0-RELEASE. I think that this might have been
> fixed in src/lib/libpam/modules/pam_lastlog/pam_lastlog.c revision 1.23
> (MFCd to RELENG_6 also). Can you confirm?
We removed lastlog from sshd and added it to login. After doing so, it
behaved as we expected. I think when we run it both via the sshd and
login stacks, it gets executed twice for logouts. If your testing shows
no segfaults in that situation, I'm content that the problem is solved.
Thanks,
--=20
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley
--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iQIVAwUBSATlEiPHEDszU3zYAQL4hg/9GDSe9/yLxgXzO5DtmbNjNNRfctlXr5ps
zlifury2xWQ1i81qh9wCUSiGTQJMkdRVrctyf//SfbyPswY3pYlY1eBp2YoF7hRv
Uyr/Qr/nIyfm27SDESzo08gXpZh/ehtQMZzyOwWrEeW5CMpBUoLCwPuWHKmGXTWG
xmms6fmBd1jC4L2RlBmgQbk3YlTvNXw5gzEKfDfV1Z72q4wMBv+HnKPDGNcM4wPJ
P/XqRgzVDhmytNe99db7GjjOdG0U9B6ehIFDgExtNqOWLAqqtEQtLJsRJtpLWFuk
rre8ft4zPhuzJZoN0ZGk0iJEtMHzm+QJIs5djjhg179cqnPCGd8qB0sN/vPrEMz1
w3r6B4kXaPyXQfQX4mC3zX5VHaP4j8F6uh+OtrhNln0+rTCOWJWehWRI6AqchtN3
PlKzYIloWdO/XfDZv+vI7Jj2q8lNPTXXD1YOiOuYwECtsu3zi316fov9Gwk5buNW
jX6toXBAJQ6P6y8wVMk/IAxE+ycPYruupLYL9A4OO/Ke6/aHhYyWVrcBc4r6CWh8
f5jNCNrflc/q6x2NODzUnb93iaVZFkBApiYFB/B+wqgW4D5NBNfZ8TGBlhfTN2PO
tIkrSUnzYfS6uumQsvjWkMhD6xAVMUmjLjMe34ajRynKbujmbRwehLITzMUcWJnc
1MY4iT4Mw/E=
=le+A
-----END PGP SIGNATURE-----
--17pEHd4RhPHOinZp--
More information about the freebsd-bugs
mailing list