Bug 160

Summary: tmpdir in sudo_edit.c needs to be checked for trailing /
Product: Sudo Reporter: Kevin Zupan <kzupan>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: normal    
Version: 1.6.8   
Hardware: Alpha   
OS: Tru64 UNIX   

Description Kevin Zupan 2004-11-16 13:19:06 MST
On Tru64 5.1B, the _PATH_VARTMP define does not have a trailing / on it, and 
thus the tmp file created by sudoedit fails as it tries to create the file 
in /var/tmp<filename>.XXXXXXXXXX.  IMHO, when the tmpdir variable is created, 
it should be verified that the last character is a /, and if not that should be 
appended.

Thanx
Comment 1 Todd C. Miller 2004-11-16 13:46:44 MST

*** This bug has been marked as a duplicate of 159 ***