hid/common: Don't walk off end of string whilst parsing.
commit93cc00394d1d1b4f106103d98df3e1795c0ea353
authorPeter Clifton <pcjc2@cam.ac.uk>
Mon, 19 Oct 2009 16:45:41 +0000 (19 17:45 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Mon, 19 Oct 2009 16:45:41 +0000 (19 17:45 +0100)
tree8e17ce44d915a61a37514e7d8adbefa73fe03378
parentb3903db46402e65d6f26a18857e818bb7acec428
hid/common: Don't walk off end of string whilst parsing.

Fixed a bug where the action parser would walk off the end of a
string when given an action without a "(" in it, e.g. "benchmark".
src/hid/common/actions.c