Bug 29645

Summary: pam_ssh bug causes xdm dumps core at the end of session
Product: Base System Reporter: SANETO Takanori <sanewo>
Component: binAssignee: Mark Murray <markm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description SANETO Takanori 2001-08-12 14:10:01 UTC
With above configratuin, xdm dumps core at the end of session.
This is due to free()ing non-malloc()ed memory in pam's session cleanup code.
The data being free()ed is the one passed to pam_set_data() in pam_ssh and it
is not a malloc()ed chunk, but a part of an array.

How-To-Repeat: 
Login to xdm and then logout.
Comment 1 Doug Barton freebsd_committer freebsd_triage 2001-08-12 20:12:59 UTC
Responsible Changed
From-To: freebsd-bugs->markm


Over to Mr. Pam
Comment 2 SANETO Takanori 2002-03-31 12:01:05 UTC
Please close this PR.
The problem has been fixed in rev.1.18 of pam_ssh.c
-- 
SANETO, Takanori <URL:mailto:sanewo@ba2.so-net.ne.jp>
Comment 3 Mark Murray freebsd_committer freebsd_triage 2002-03-31 14:44:04 UTC
State Changed
From-To: open->closed

Please close this PR. 
The problem has been fixed in rev.1.18 of pam_ssh.c 
-- 
SANETO, Takanori <URL:mailto:sanewo@ba2.so-net.ne.jp>