Re: [Linuxwacom-devel] [PATCH] Fix off-by-one error in xsetwacom's button handling

2012-04-03 Thread Chris Bagwell
Seems reasonable a zero based offset should check >= nitems value and aligns with similar check in get_actions(). Reviewed-by: Chris Bagwell On Tue, Apr 3, 2012 at 5:00 PM, Jason Gerecke wrote: > > Signed-off-by: Jason Gerecke > --- > tools/xsetwacom.c |2 +- > 1 file changed, 1 insertio

[Linuxwacom-devel] [PATCH] Fix off-by-one error in xsetwacom's button handling

2012-04-03 Thread Jason Gerecke
Signed-off-by: Jason Gerecke --- tools/xsetwacom.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c index 7cf0d05..28332d1 100644 --- a/tools/xsetwacom.c +++ b/tools/xsetwacom.c @@ -1244,7 +1244,7 @@ static void special_map_property(Dis