[PATCH] powerpc: Read buffer overflow

Wolfram Sang w.sang at pengutronix.de
Mon Aug 3 23:12:31 EST 2009

On Mon, Aug 03, 2009 at 10:57:17PM +1000, Paul Mackerras wrote:
> Roel Kluin writes:
> > Check whether index is within bounds before grabbing the element.
> The change seems unnecessary since we only compute the address of the
> element before the bounds check, we don't actually access the
> element.  I believe that is legal in C.

I've got this strange feeling of deja vu :)


(I'd vote for applying it but won't mind if not)



Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090803/b12095d5/attachment.pgp>

More information about the Linuxppc-dev mailing list