[PATCH] powerpc: Read buffer overflow

Paul Mackerras paulus at samba.org
Mon Aug 3 22:57:17 EST 2009


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.

Paul.


More information about the Linuxppc-dev mailing list