commit | 844580ff63ef4eb19eec4cfd8cd6e0b62d81279f | [log] [tgz] |
---|---|---|
author | Nestor Lopez Casado <nlopezcasad@logitech.com> | Tue Sep 20 15:59:03 2011 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Sep 20 16:09:22 2011 +0200 |
tree | 09efe63d4917899fd8adb340867f3662f6579895 | |
parent | 534a7b8e10ec55d9f521e68c20dbb3634c25b98a [diff] |
HID: hid-logitech-dj: fix off by one There is a bug where a device with index 6 would write out of bounds in the array of paired devices. This patch fixes that problem. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Reviewed-by: Olivier Gay <ogay@logitech.com> Signed-off-by: Nestor Lopez Casado <nlopezcasad@logitech.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>