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

From: Al Viro
Date: Tue Nov 06 2007 - 18:02:34 EST


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.
-
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/