From: Steinar H. Gunderson Date: Tue, 6 Mar 2007 15:10:43 +0000 (+0100) Subject: Imported Debian patch 1.0.12-3 X-Git-Tag: debian/1%1.0.12-3^0 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=59914a0ca3f07ff77a1255ba416133859c4ed925;p=nfs-utils.git Imported Debian patch 1.0.12-3 --- diff --git a/debian/changelog b/debian/changelog index a123026..69d435e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 index 0000000..f6a84f4 --- /dev/null +++ b/debian/patches/03-fix-mountd-memory-leak.patch @@ -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; + } + diff --git a/debian/patches/series b/debian/patches/series index 36a7d97..e68accd 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ +03-fix-mountd-memory-leak.patch 02-document-debian-init-scripts.patch