diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-24 09:14:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-24 09:14:02 +0000 |
commit | baa3b5f6b7e8c79a85a5884cbb200a0cfdead624 (patch) | |
tree | fe5d8f8060cc27908cd2fb260e309b3efde194aa /net-fs/nfs-utils/files | |
parent | Version bump #170365 by Daniel Webert. (diff) | |
download | gentoo-2-baa3b5f6b7e8c79a85a5884cbb200a0cfdead624.tar.gz gentoo-2-baa3b5f6b7e8c79a85a5884cbb200a0cfdead624.tar.bz2 gentoo-2-baa3b5f6b7e8c79a85a5884cbb200a0cfdead624.zip |
Grab fix from upstream for memleak in mountd #172014 by Bardur Arantsson.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-fs/nfs-utils/files')
-rw-r--r-- | net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r1 | 3 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-1.0.12-mountd-memleak.patch | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r1 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r1 new file mode 100644 index 000000000000..bdb8c3cf47a5 --- /dev/null +++ b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r1 @@ -0,0 +1,3 @@ +MD5 acf3656cec3872deb597aa7ac13f3c3a nfs-utils-1.0.12.tar.gz 778576 +RMD160 a00dbdae386acf3f969714a1571749182c5a19a8 nfs-utils-1.0.12.tar.gz 778576 +SHA256 67d81a53d84777c733ff8a5cf5f3eed9ecda17fb9f949bc65727c1a3427af8ac nfs-utils-1.0.12.tar.gz 778576 diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.12-mountd-memleak.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.12-mountd-memleak.patch new file mode 100644 index 000000000000..5a750a893ac0 --- /dev/null +++ b/net-fs/nfs-utils/files/nfs-utils-1.0.12-mountd-memleak.patch @@ -0,0 +1,22 @@ +http://bugs.gentoo.org/172014 + +From: Steinar H. Gunderson <sgunderson@bigfoot.com> +Date: Fri, 16 Mar 2007 00:26:35 +0000 (+1100) +Subject: Fix memory leak in mountd. +X-Git-Url: http://linux-nfs.org/cgi-bin/gitweb.cgi?p=nfs-utils;a=commitdiff;h=08964495c2a65f6228426e4565a50dae5b75834d + +Fix memory leak in mountd. + +Signed-off-by: Neil Brown <neilb@suse.de> +--- + +--- a/support/export/client.c ++++ b/support/export/client.c +@@ -329,6 +329,7 @@ add_name(char *old, char *add) + strcat(new, ","); + strcat(new, cp); + } ++ free(old); + return new; + } + |