aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-02-28 20:30:22 +0100
committerSven Gothel <[email protected]>2013-02-28 20:30:22 +0100
commit7f2637bfe5ef1764882a123a8942e60632730bdf (patch)
tree022f684fb0c9b1ff30f9e0166fe507f9a82a2f23 /src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java
parent26b9b3f5dd2e6914dd6555dda61d04fac115a4b1 (diff)
Fix Bug 695: WGLExt.wglChoosePixelFormatARB causes buffer underflow due to a higher reported number of configs than buffer size
"I encountered a case on an NVidia Quadro 3500 fx where the call to WGLExt.wglChoosePixelFormatARB in WindowsWGLGraphicsConfiguration (currently line 355) returns 264 in numFormatsTmp despite 256 being passed in for the maximum number of formats. This results in a buffer underflow on line 368 since pformatsTmp only has 256 values and it's trying to copy 264 values." Fixed in WindowsWGLGraphicsConfiguration and WindowsPbufferWGLDrawable.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java')
0 files changed, 0 insertions, 0 deletions