CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/03/01 23:41:56
Modified files:
usr.bin/ssh : moduli.c
Log message:
Ensure we always call fclose when writing checkpoints. In the case of
an fprintf failure we would not call fclose which would leak the FILE
pointer. While we're there, try to clean up the temp file on failure.
Spotted by Coverity, ok djm@
