CVSROOT:        /cvs
Module name:    src
Changes by:     dtuc...@cvs.openbsd.org 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@

Reply via email to