Skip to content
Disclosed report CVE-2012-0473

WebGLBuffer::FindMaxUshortElement passes wrong template arguments to FindMaxElementInSubArray

Matias Juntunen Follow

Originally disclosed on Mozilla

  • Fixed in 3 days
  • Paid in 15 months
  • Disclosed after 3 days
Text
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.

The original report as published on Mozilla's Bugzilla, by Matias Juntunen. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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.