MantisBT - VTK
View Issue Details
0007065VTK(No Category)public2008-05-21 09:352016-08-12 09:54
Matjaz Jakopec 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0007065: Unhandled exception in QVtkWidget when pressing unsupported keys
The problem is in qvtkwidget.cxx function const char* ascii_to_key_sym(int i)

There is no bounds check of the input value, so there is an unhandled exception when an unsupported key causes a call to ascii_to_key_sym() with a negative parameter.

Possible solution:
Add bounds check in ascii_to_key_sym()
 if( i < 0 || i > 255 ) return 0;

No tags attached.
Issue History
2008-05-21 09:35Matjaz JakopecNew Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036975
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved
2016-08-12 09:54Kitware RobotAssigned To => Kitware Robot

Notes
(0036975)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.