From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Lindner Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv-kernelland: Fix memory corruption bug Date: Thu, 4 Dec 2008 10:30:03 +0800 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812041030.17606.lindner_marek@yahoo.de> Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Hey, > Turned out to be a simple typo, which I've fixed in the following > patch. When resizing the packet_buff struct in batman_if, the new > length was being updated but the old length was being used for the > kmalloc(), causing something later to think it had more memory > allocated to write to, hence writing past the end of the allocation. wow - nice catch ! I happily applied your patch (revision 1173). :-) Regards, Marek