Unhandled exception in QVtkWidget when pressing unsupported keys
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
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;