lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 3 May 2007 02:04:16 +0200 (MEST) From: Patrick McHardy <kaber@...sh.net> To: davem@...emloft.net Cc: netdev@...r.kernel.org, Patrick McHardy <kaber@...sh.net>, howells@...hat.com Subject: [AFS 02/04]: Fix memory leak in SRXAFSCB_GetCapabilities [AFS]: Fix memory leak in SRXAFSCB_GetCapabilities The interface array is not freed on exit. Signed-off-by: Patrick McHardy <kaber@...sh.net> --- commit cef7f64469d521dd1dcb991e247ad02e84c3051c tree bf5b8cd7a7e31053eaf826037c0b9fc97a69cd93 parent 831e920626706afd5ced0c72ca15c8af340bc157 author Patrick McHardy <kaber@...sh.net> Wed, 02 May 2007 20:19:04 +0200 committer Patrick McHardy <kaber@...sh.net> Wed, 02 May 2007 20:19:04 +0200 fs/afs/cmservice.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 6685f4c..d5b2ad6 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c @@ -443,6 +443,7 @@ static void SRXAFSCB_GetCapabilities(struct work_struct *work) reply.ia.netmask[loop] = ifs[loop].netmask.s_addr; reply.ia.mtu[loop] = htonl(ifs[loop].mtu); } + kfree(ifs); } reply.cap.capcount = htonl(1); - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists