[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513284: marked as done (potential (rare?) memleak in rpc.mountd)



Your message dated Mon, 28 Jun 2021 12:48:22 +0000
with message-id <E1lxqgY-00059X-9r@fasolo.debian.org>
and subject line Bug#513284: fixed in nfs-utils 1:1.3.4-6
has caused the Debian Bug report #513284,
regarding potential (rare?) memleak in rpc.mountd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
513284: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513284
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: nfs-utils
Version: 1:1.1.4-1
Severity: minor
Tags: patch

Hi, 
	the following patch fixes a small memleak in rpc.mountd. I'm not quite sure 
how often this code block is entered, but seems to be a rare case.

diff -Naur nfs-utils-1.1.4.orig/utils/mountd/fsloc.c 
nfs-utils-1.1.4/utils/mountd/fsloc.c
--- nfs-utils-1.1.4.orig/utils/mountd/fsloc.c   2009-01-27 21:21:57.000000000 
+0200
+++ nfs-utils-1.1.4/utils/mountd/fsloc.c        2009-01-27 21:50:06.000000000 
+0200
@@ -102,6 +102,7 @@
                cp = strchr(list[i], '@');
                if ((!cp) || list[i][0] != '/') {
                        xlog(L_WARNING, "invalid entry '%s'", list[i]);
+                      free(mp);
                        continue; /* XXX Need better error handling */
                }
                res->h_mp[i] = mp;


-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>



--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:1.3.4-6
Done: Salvatore Bonaccorso <carnil@debian.org>

We believe that the bug you reported is fixed in the latest version of
nfs-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 513284@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <carnil@debian.org> (supplier of updated nfs-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Jun 2021 09:15:06 +0200
Source: nfs-utils
Architecture: source
Version: 1:1.3.4-6
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Salvatore Bonaccorso <carnil@debian.org>
Closes: 513284 883194
Changes:
 nfs-utils (1:1.3.4-6) unstable; urgency=medium
 .
   * mountstats:  Remove a shebang
   * Convert remaining python scripts to python3 (Closes: #883194)
   * debian/control: Switch Recommends from python to python3
   * Removed a resource leak from mountd/fsloc.c (Closes: #513284)
Checksums-Sha1: 
 8759ddc36fdd19b506bf41a25e4935048542ec14 2448 nfs-utils_1.3.4-6.dsc
 394ed54e18da92b693e3a1e260d68657d8883f33 52140 nfs-utils_1.3.4-6.debian.tar.xz
Checksums-Sha256: 
 7ccd4817343cf069bef73f38e9f487db278c6c27ad5ff9538cccf967ad0ea06f 2448 nfs-utils_1.3.4-6.dsc
 015bd80fbe41497d1db8b021085f23ba3f7b49a0d47d168861e387221624196b 52140 nfs-utils_1.3.4-6.debian.tar.xz
Files: 
 27713db4ec307476975d93f7d7ad2996 2448 net optional nfs-utils_1.3.4-6.dsc
 06302be9388b60cd77536c77e4e57a33 52140 net optional nfs-utils_1.3.4-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmDZwUBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMT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