
[Input] Potential stack corruption in opentk-input branch
Posted Monday, 21 September, 2009 - 06:37 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 0.9.9-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | the Fiddler |
| Status: | closed |
Jump to:
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
#1
Should be fixed in rev. 2286. The issue was caused by insufficient storage being allocated for the KeyState vector.
#2
Closing issues fixed in 0.9.9-3.