Bugzilla – Bug 159
tmpdir in sudo_edit.c needs to be checked for trailing /
Last modified: 2004-11-16 17:53:08 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
*** Bug 160 has been marked as a duplicate of this bug. ***
How unfortunate that Digital chose to change this from Net/2. The next sudo release will have a check for this.