components/pwgen/patches/01-sha1num.c.patch
author pkidd <patrick.kidd@oracle.com>
Mon, 10 Apr 2017 14:56:53 -0700
branchs11u3-sru
changeset 7856 a95be34a8fe4
parent 3027 3bcf7d43558b
permissions -rw-r--r--
Added tag 0.175.3.20.0.1.0, S11.3SRU20.1 for changeset 87236a3c36b4

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;
 }