]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Imported Debian patch 1.0.12-3 debian/1%1.0.12-3
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 6 Mar 2007 15:10:43 +0000 (16:10 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 14 Jul 2010 01:48:39 +0000 (02:48 +0100)
debian/changelog
debian/patches/03-fix-mountd-memory-leak.patch [new file with mode: 0644]
debian/patches/series

index a1230265aeb8e9181bc36c69025730b768675c03..69d435e52eefe271f32ebf806271060341baa48c 100644 (file)
@@ -1,3 +1,11 @@
+nfs-utils (1:1.0.12-3) unstable; urgency=low
+
+  * 03-fix-mountd-memory-leak.patch: New patch which fixes a tiny memory leak
+    in mountd. There are huge memory leaks left, but they are in libblkid (see
+    #413661) so there's nothing we can do about them at this point.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Tue,  6 Mar 2007 16:10:43 +0100
+
 nfs-utils (1:1.0.12-2) unstable; urgency=medium
 
   * Drop 11-root-on-krb5-mounts.patch, as it causes problems with backward
diff --git a/debian/patches/03-fix-mountd-memory-leak.patch b/debian/patches/03-fix-mountd-memory-leak.patch
new file mode 100644 (file)
index 0000000..f6a84f4
--- /dev/null
@@ -0,0 +1,12 @@
+Index: nfs-utils-1.0.12/support/export/client.c
+===================================================================
+--- nfs-utils-1.0.12.orig/support/export/client.c
++++ nfs-utils-1.0.12/support/export/client.c
+@@ -329,6 +329,7 @@ add_name(char *old, char *add)
+               strcat(new, ",");
+               strcat(new, cp);
+       }
++      free(old);
+       return new;
+ }
index 36a7d978c5338cc9266afcb9a3a9b0dd183541e6..e68accdc42599c3e5c501a39165e19af4ebba01d 100644 (file)
@@ -1 +1,2 @@
+03-fix-mountd-memory-leak.patch
 02-document-debian-init-scripts.patch