Hi Linus,
please apply the following bugfix (fixes memleak on error condition).
Thanks
Honza
----- Forwarded message from "Randy.Dunlap" <randy.dunlap@verizon.net> -----
Date: Wed, 05 Feb 2003 12:14:56 -0800
From: "Randy.Dunlap" <randy.dunlap@verizon.net>
To: jack@suse.cz
Subject: [PATCH] quota memleak
X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.5.54 i686)
Hi,
The Stanford Checker found a memleak.
Please consider applying. For 2.5.59.
Thanks,
~Randy
----------------------------------------------------------------------
diff -Naur ./fs/quota_v2.c%LEAK ./fs/quota_v2.c
--- ./fs/quota_v2.c%LEAK Thu Jan 16 18:22:29 2003
+++ ./fs/quota_v2.c Tue Feb 4 21:37:07 2003
@@ -306,6 +306,7 @@
blk = get_free_dqblk(filp, info);
if ((int)blk < 0) {
*err = blk;
+ freedqbuf(buf);
return 0;
}
memset(buf, 0, V2_DQBLKSIZE);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:20 EST