| Summary: | PAM conversation function does not return when connection is aborted | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Markus Kuhn <Markus.Kuhn> | ||||
| Component: | PAM support | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | major | Keywords: | patch | ||||
| Priority: | P3 | ||||||
| Version: | 3.6.1p2 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| URL: | http://www.cl.cam.ac.uk/~mgk25/otpw.html#opensshbug | ||||||
| Attachments: |
|
||||||
|
Description
Markus Kuhn
2003-09-02 00:02:22 AEST
Markus, the PAM support has been completely
replaced for the upcoming 3.7 release (the
current code is from the author of OpenPAM).
Could you please try with a recent snapshot from
http://www.openssh.com/portable.html
?
We call pam_end indirectly via a fatal_cleanup in 3.7.x. Perhaps this should change. Considering this is a security bug (it does not scrub memory as it should and for other pam modules expose other vulnerabilities) as well as a functionality bug which seems to involve calling one function instead of another, I would think hope and encourge that getting it fixed be a priority. Please don't make changes to other people's bugs, unless you are going to help. Created attachment 501 [details]
Don't fatal on msg functions
The removes the remaining indirect ways that pam_end could be called from the
kbd-int conversation function in -current portable.
I'd suggest the msg.[ch] changes for inclusion in the OpenBSD version too.
the msg.c changes make sense to me... The changes were committed a month ago. Mass change of RESOLVED bugs to CLOSED |