WebGLBuffer::FindMaxUshortElement passes wrong template arguments to FindMaxElementInSubArray
Originally disclosed on Mozilla
- Fixed in 3 days
- Paid in 15 months
- Disclosed after 3 days
Created attachment 613142
Fix the wrong template parameter in call to WebGLBuffer::FindMaxElementInSubArray
WebGLBuffer::FindMaxUshortElement in content/canvas/src/WebGLContext.h passes GLshort instead of GLushort to FindMaxElementInSubArray, even though only GLubyte or GLushort should be used.
I've attached a patch to fix the issue.
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 10 April 2012 as CVE-2012-0473.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.