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

2007-11-06 Thread Roel Kluin
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

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

2007-11-06 Thread Al Viro
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 >

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

2007-11-06 Thread Roel Kluin
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. Signed-off-by: Roel Kluin

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

2007-11-06 Thread Roel Kluin
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. Signed-off-by: Roel Kluin [EMAIL

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

2007-11-06 Thread Al Viro
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

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

2007-11-06 Thread Roel Kluin
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.