summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-20 07:39:37 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-20 07:39:37 +0000
commit8d52c4db86d26a9889f688167d6dc5e4f472e29c (patch)
treee22780ff33baed4d81678fe33ca76650cbe2cacd /sys-libs/cracklib/files
parentalpha/hppa stable (diff)
downloadgentoo-2-8d52c4db86d26a9889f688167d6dc5e4f472e29c.tar.gz
gentoo-2-8d52c4db86d26a9889f688167d6dc5e4f472e29c.tar.bz2
gentoo-2-8d52c4db86d26a9889f688167d6dc5e4f472e29c.zip
Fix from upstream for header leakage #142765 by Ming Zhao.
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'sys-libs/cracklib/files')
-rw-r--r--sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch28
-rw-r--r--sys-libs/cracklib/files/digest-cracklib-2.8.9-r13
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch b/sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch
new file mode 100644
index 000000000000..db110340102d
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch
@@ -0,0 +1,28 @@
+http://bugs.gentoo.org/142765
+
+Index: trunk/cracklib/lib/packlib.c
+===================================================================
+--- trunk/cracklib/lib/packlib.c (revision 89)
++++ trunk/cracklib/lib/packlib.c (revision 90)
+@@ -450,7 +450,7 @@ GetPW(pwp, number)
+ return (data[number % NUMWORDS]);
+ }
+
+-uint32_t
++unsigned int
+ FindPW(pwp, string)
+ PWDICT *pwp;
+ char *string;
+Index: trunk/cracklib/lib/packer.h
+===================================================================
+--- trunk/cracklib/lib/packer.h (revision 89)
++++ trunk/cracklib/lib/packer.h (revision 90)
+@@ -88,7 +88,7 @@ typedef struct {
+
+ extern PWDICT *PWOpen(const char *prefix, char *mode);
+ extern int PWClose(PWDICT *pwp);
+-extern uint32_t FindPW(PWDICT *pwp, char *string);
++extern unsigned int FindPW(PWDICT *pwp, char *string);
+ extern int PutPW(PWDICT *pwp, char *string);
+ extern int PMatch(char *control, char *string);
+ extern char *Mangle(char *input, char *control);
diff --git a/sys-libs/cracklib/files/digest-cracklib-2.8.9-r1 b/sys-libs/cracklib/files/digest-cracklib-2.8.9-r1
new file mode 100644
index 000000000000..40e87efdb8b3
--- /dev/null
+++ b/sys-libs/cracklib/files/digest-cracklib-2.8.9-r1
@@ -0,0 +1,3 @@
+MD5 9a8c9eb26b48787c84024ac779f64bb2 cracklib-2.8.9.tar.gz 575494
+RMD160 97e36e1bc114ef74fae7feeb0701a7ef8ffe9a3e cracklib-2.8.9.tar.gz 575494
+SHA256 1b58c9b03733ca4f58e417ea8bba8e1a335d2d0bf0a99caa414d0f07a9f6b7e6 cracklib-2.8.9.tar.gz 575494