summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-11-22 19:30:21 +0000
committerNed Ludd <solar@gentoo.org>2004-11-22 19:30:21 +0000
commit4c0da10f0df80cbeb8f134f2b51b6d146513967a (patch)
tree3afa79b6a41c4a2eb7cd00912f9654311cceb3c8 /net-fs/nfs-utils/files
parentFix problem where one could end up with '/usr/lib/fonts' font paths in xorg.c... (diff)
downloadgentoo-2-4c0da10f0df80cbeb8f134f2b51b6d146513967a.tar.gz
gentoo-2-4c0da10f0df80cbeb8f134f2b51b6d146513967a.tar.bz2
gentoo-2-4c0da10f0df80cbeb8f134f2b51b6d146513967a.zip
Security bump for 64bit arches bug #72113 - CAN-2004-0946
Diffstat (limited to 'net-fs/nfs-utils/files')
-rw-r--r--net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r51
-rw-r--r--net-fs/nfs-utils/files/nfs-utils-0.3.3-rquotad-overflow.patch29
2 files changed, 30 insertions, 0 deletions
diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r5 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r5
new file mode 100644
index 000000000000..319c3d94379e
--- /dev/null
+++ b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.6-r5
@@ -0,0 +1 @@
+MD5 f17e9983457e1cf61c37f0be4493fce6 nfs-utils-1.0.6.tar.gz 265964
diff --git a/net-fs/nfs-utils/files/nfs-utils-0.3.3-rquotad-overflow.patch b/net-fs/nfs-utils/files/nfs-utils-0.3.3-rquotad-overflow.patch
new file mode 100644
index 000000000000..d3ef7a7a1d64
--- /dev/null
+++ b/net-fs/nfs-utils/files/nfs-utils-0.3.3-rquotad-overflow.patch
@@ -0,0 +1,29 @@
+--- nfs-utils-0.3.3/utils/rquotad/rquota_server.c.orig Wed Jun 27 12:45:56 2001
++++ nfs-utils-0.3.3/utils/rquotad/rquota_server.c Thu Nov 11 14:36:39 2004
+@@ -76,6 +76,7 @@ getquota_rslt *getquotainfo(int flags, c
+ char *pathname, *qfpathname;
+ int fd, err, id, type;
+ struct stat stm, stn;
++ struct rquota *rquota;
+
+ /*
+ * First check authentication.
+@@ -168,8 +169,16 @@ getquota_rslt *getquotainfo(int flags, c
+ * Make a copy of the info into the last part of the remote quota
+ * struct which is exactly the same.
+ */
+- memcpy((caddr_t *)&result.getquota_rslt_u.gqr_rquota.rq_bhardlimit,
+- (caddr_t *)&dq_dqb, sizeof(struct dqblk));
++
++ rquota = &result.getquota_rslt_u.gqr_rquota;
++ rquota->rq_bhardlimit = dq_dqb.dqb_bhardlimit;
++ rquota->rq_bsoftlimit = dq_dqb.dqb_bsoftlimit;;
++ rquota->rq_curblocks = dq_dqb.dqb_curblocks;
++ rquota->rq_fhardlimit = dq_dqb.dqb_ihardlimit;
++ rquota->rq_fsoftlimit = dq_dqb.dqb_isoftlimit;
++ rquota->rq_curfiles = dq_dqb.dqb_curinodes;
++ rquota->rq_btimeleft = dq_dqb.dqb_btime;
++ rquota->rq_ftimeleft = dq_dqb.dqb_itime;
+
+ return(&result);
+ }