[krbdev.mit.edu #6199] SVN Commit

Ezra Peisach via RT rt-comment at krbdev.mit.edu
Sun Oct 19 06:45:02 EDT 2008


In krb5_def_store_mkey(), mktemp was being invoked with a string WRFILE:....
This returns an error - as it actually tries to open the file.
Move some of the logic that points to the actual filename earlier - so
mktemp works on the .... portion.

Note that the netbsd linker gives a warning on using mktemp as it may be
insecure - but there is no obvious way to avoid it.


Commit By: epeisach



Revision: 20896
Changed Files:
U   trunk/src/lib/kdb/kdb_default.c




More information about the krb5-bugs mailing list