the Fiddler's picture

[Input] Potential stack corruption in opentk-input branch

Project:The Open Toolkit library
Version:0.9.9-3
Component:Code
Category:bug report
Priority:normal
Assigned:the Fiddler
Status:closed
Description

Rev. 2285 suffers from a potential stack corruption issue in Keyboard.GetState(int index): the index variable becomes -1 once WriteBit is called for the 128th key.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» fixed

Should be fixed in rev. 2286. The issue was caused by insufficient storage being allocated for the KeyState vector.

the Fiddler's picture

#2

Version:0.9.x-dev» 0.9.9-3
Status:fixed» closed

Closing issues fixed in 0.9.9-3.