]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- obsolete (even applied, but with 1.1.1 doing very bad things)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Nov 2007 12:48:43 +0000 (12:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nfs-utils-mountd-leak.patch -> 1.4

nfs-utils-mountd-leak.patch [deleted file]

diff --git a/nfs-utils-mountd-leak.patch b/nfs-utils-mountd-leak.patch
deleted file mode 100644 (file)
index ef38275..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-commit 1cb4a250fb9f0a8ba34befa47d951430e444a58e
-Author: Steinar H. Gunderson <sesse@debian.org>
-Date:   Fri May 11 21:02:09 2007 +1000
-
-    Memory leak in mountd
-    
-    In client_compose(), free() the hostent structure returned before
-    exiting. Normally, gethostbyaddr() returns a pointer to a static
-    struct, but this hostent comes from either get_reliable_hostbyaddr() or
-    get_hostent(), both which return a pointer they privately xmalloc()ed,
-    which thus can and should be free()d.
-    
-    Signed-Off-By: Steinar H. Gunderson <sesse@debian.org>
-
-diff --git a/support/export/client.c b/support/export/client.c
-index 686c744..19b53aa 100644
---- a/support/export/client.c
-+++ b/support/export/client.c
-@@ -262,6 +262,7 @@ client_compose(struct in_addr addr)
-                       name = add_name(name, clp->m_hostname);
-               }
-       }
-+      free(he);
-       return name;
- }
This page took 0.089618 seconds and 4 git commands to generate.