[B.A.T.M.A.N.] [PATCH] batman-adv-kernelland: Fix memory corruption bug

Marek Lindner lindner_marek at yahoo.de
Thu Dec 4 02:30:03 UTC 2008


> 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).  :-)


More information about the B.A.T.M.A.N mailing list