[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 910615] [NEW] gschem: Missing zero termination in g_keys.c
Public bug reported:
In g_key_is_valid() (g_keys.c), there is an array of key codes for
invalid keys (invalid_keyvals[]) that can't be mapped. This list is
searched against each requested key code using a loop that terminates
when a zero is found, but the list itself is not zero-terminated.
Attached patch fixes that.
** Affects: geda
Importance: Undecided
Assignee: Gareth Edwards (gareth-uk)
Status: New
** Tags: gschem macports
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/910615
Title:
gschem: Missing zero termination in g_keys.c
Status in GPL Electronic Design Automation tools:
New
Bug description:
In g_key_is_valid() (g_keys.c), there is an array of key codes for
invalid keys (invalid_keyvals[]) that can't be mapped. This list is
searched against each requested key code using a loop that terminates
when a zero is found, but the list itself is not zero-terminated.
Attached patch fixes that.
To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/910615/+subscriptions
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug