Re: [PATCH] fix writing to unintended memory in eth16i_probe_port();drivers/net/eth16i.c

From: Roel Kluin
Date: Tue Nov 06 2007 - 18:17:03 EST


Al Viro wrote:
> On Tue, Nov 06, 2007 at 11:57:44PM +0100, Roel Kluin wrote:
>> 14 is added as an offset to the array dummy_packet (64 unsigned chars) to
>> serve as a destination address in a call to memset(). However, when added,
>> it is automatically scaled by the size of dummy_packet, which is 64. This
>> results in writing to unintended memory.
>
> NAK. Learn C.
>
yeah I read your other mail, was going to reply myself anyway, but hey, you
had to be rude again.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/