[Forwarding to the nfsv4 list]
--- Begin Message ---Package: nfs-utils Version: 1:1.1.4-1 Severity: minor Tags: patchHi, 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 ---
signature.asc
Description: Digital signature

