components/pwgen/patches/01-sha1num.c.patch
author jenny.yung@oracle.com <jenny.yung@oracle.com>
Tue, 16 Jun 2015 10:14:56 -0700
branchs11-update
changeset 4489 2713cbca9e1e
parent 3027 3bcf7d43558b
permissions -rw-r--r--
21240304 Upgrade OpenSSL version to 1.0.1o 21240457 problem in LIBRARY/OPENSSL 21240446 problem in LIBRARY/OPENSSL 21240467 problem in LIBRARY/OPENSSL 21240436 problem in LIBRARY/OPENSSL 21240415 problem in LIBRARY/OPENSSL 21240488 problem in LIBRARY/OPENSSL

Developed in-house, not fed back - can't submit new issue
 - community seems dead.
Fixes Parfait problem file leak

--- pwgen-2.06/sha1num.c	2007-07-04 16:42:19.000000000 -0700
+++ pwgen-2.06-fixed/sha1num.c	2013-09-05 07:33:17.194749959 -0700
@@ -54,6 +54,8 @@
 		sha1_update( &sha1_ctx, buf, i );
 	}
 
+	fclose(f);
+
 	return;
 }