gEDA-bug: [ geda-Bugs-1692634 ] gschem can crash when a 0x0 keysym key is pressed

SourceForge.net noreply at sourceforge.net
Sun Apr 1 21:41:12 EDT 2007


Bugs item #1692634, was opened at 2007-04-01 21:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1692634&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gschem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ales Hvezda (ahvezda)
Assigned to: Nobody/Anonymous (nobody)
Summary: gschem can crash when a 0x0 keysym key is pressed

Initial Comment:
For certain dialog boxes, gschem will crash if a key with a 0x0 keysym is pressed while the focus is in a entry box.  

This bug is caused by code like this:

strcmp (gdk_keyval_name (event->keyval), "Escape")

where gdk_keyval_name will return NULL when the keyval is 0x0.  All code like this should be changed so that nothing happens when a key with a 0x0 keysym is pressed.

Thanks for the bug report Stephen!


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1692634&group_id=161080


More information about the geda-bug mailing list