summaryrefslogtreecommitdiff
path: root/security/cfs/patches
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-08-05 13:30:26 +0000
committeradrianp <adrianp>2006-08-05 13:30:26 +0000
commit8e1b9e46db975bde28e8b8f9ffc1395204e3d907 (patch)
tree71b66d9cdf2be4dacb1f78a0fd674a7f778b0fb0 /security/cfs/patches
parent9f6ad2148014c3b11475b4c9d45a7ee6d7fa4ff2 (diff)
downloadpkgsrc-8e1b9e46db975bde28e8b8f9ffc1395204e3d907.tar.gz
Fix for SA21310/CVE-2006-3123
Patch via. Debian
Diffstat (limited to 'security/cfs/patches')
-rw-r--r--security/cfs/patches/patch-ah22
1 files changed, 20 insertions, 2 deletions
diff --git a/security/cfs/patches/patch-ah b/security/cfs/patches/patch-ah
index d43bd232816..34ed87cd854 100644
--- a/security/cfs/patches/patch-ah
+++ b/security/cfs/patches/patch-ah
@@ -1,7 +1,25 @@
-$NetBSD: patch-ah,v 1.1 2005/03/21 18:08:31 wiz Exp $
+$NetBSD: patch-ah,v 1.2 2006/08/05 13:30:26 adrianp Exp $
---- cfs_fh.c.orig 2004-11-30 11:19:25.000000000 -0500
+--- cfs_fh.c.orig 2006-08-05 14:21:22.000000000 +0100
+++ cfs_fh.c
+@@ -289,7 +289,7 @@ doencrypt(k,s,l,salt,vect)
+ cfskey *k;
+ char *s;
+ int l;
+- int salt;
++ u_long salt;
+ char *vect;
+ {
+ int i,j,smsize;
+@@ -311,7 +311,7 @@ dodecrypt(k,s,l,salt,vect)
+ cfskey *k;
+ char *s;
+ int l;
+- int salt;
++ u_long salt;
+ char *vect;
+ {
+ int i,j,smsize;
@@ -547,7 +547,9 @@ fhtofd(f,mode)
openfd=NULL;
}