components/pwgen/patches/01-sha1num.c.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 11 Jun 2015 20:52:26 -0700
changeset 4479 68cd14867fa2
parent 1600 936fff797203
child 5841 97e8c4dc6a82
permissions -rw-r--r--
19969975 gcc 4.8.2 regression to old GNU linkonce

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