Re: [Mesa-dev] [PATCH 02/21] mesa: Check index buffer offset in DrawElements

2012-06-11 Thread Brian Paul
On 06/11/2012 12:59 AM, Pauli Nieminen wrote: DrawElements checks for cound beeing larger than index buffer object. "count being" But application can specify offset to buffer leading to buffer overflow again. ARB_vertex_buffer_object leaves the case undefined but allows program termination.

[Mesa-dev] [PATCH 02/21] mesa: Check index buffer offset in DrawElements

2012-06-10 Thread Pauli Nieminen
DrawElements checks for cound beeing larger than index buffer object. But application can specify offset to buffer leading to buffer overflow again. ARB_vertex_buffer_object leaves the case undefined but allows program termination. But indirect glx needs to check to avoid crashing X. " What hap