components/pwgen/patches/01-sha1num.c.patch
author Jiri Kukacka <jiri.kukacka@oracle.com>
Wed, 26 Mar 2014 06:19:12 -0700
branchs11-update
changeset 3027 3bcf7d43558b
permissions -rw-r--r--
17636356 problem in UTILITY/PWGEN 17454821 pwgen shall use existing approved library for SHA-1 17417022 pwgen needs some love

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