components/pwgen/patches/01-sha1num.c.patch
author Jiri Kukacka <jiri.kukacka@oracle.com>
Mon, 02 Dec 2013 05:58:52 -0800
changeset 1600 936fff797203
parent 1466 24d2be32f88c
child 5841 97e8c4dc6a82
permissions -rw-r--r--
17454821 pwgen shall use existing approved library for SHA-1 17636356 problem in UTILITY/PWGEN

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