News for hackers. Stuff that matters.
Re:Khronos Releases OpenGL 4.3 Specification with Major Enha... by malkia on Monday August 06, 2012 @05:21PM (#4347342)
Well for example an uint32_t index buffer - it might contain indices that are outside of what's allowed. If the kernel/driver verifies this everytime, it might slow down somehow the operation. It's totally possible that the driver/chip somehow "clips" this, or being a bit of undefined operation - simply ignores it.

There might be other cases too.

Re:Khronos Releases OpenGL 4.3 Specification with Major Enha... by cscheid on Monday August 06, 2012 @11:26PM (#4348549)
WebGL mandates that the user agent check indices: http://www.khronos.org/registry/webgl/specs/latest/#ATTRIBS_...

As I alluded above, the current WebGL spec is actually fairly well-designed with respect to trying to crash display drivers.

The word "undefined" actually only appears once in the current spec, in a bit about canvas drawing buffers being preserved across frames. And, in fact, in that case it mandates implementations to clear the buffer before any WebGL call can read the contents to prevent leakage.

Most of the claims of WebGL security issues are either to old versions of the spec (which leaked data to shaders and led to things like timing attacks) or are currently a bit on the hyperbolic side.