nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D use JSVAL_TO_OBJECT on arbitrary objects
- Fixed in 7 days
- Paid in 17 months
- Disclosed after 7 days
Created attachment 597496
Patch v1
Something like this should do the trick:
webglcontext.texImage2D(0, 0, 0, 0, 0, { width: 10, height: 10, data: 7 })
I'd test it, but we don't support WebGL on my hardware. Code was added in bug 573705.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A security bug in Graphics: CanvasWebGL. Mozilla made it public on 22 February 2012 as CVE-2012-0478.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.