diff options
author | Nestor Lopez Casado <nlopezcasad@logitech.com> | 2011-09-20 15:59:03 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-09-20 16:09:22 +0200 |
commit | 844580ff63ef4eb19eec4cfd8cd6e0b62d81279f (patch) | |
tree | 09efe63d4917899fd8adb340867f3662f6579895 /drivers/pci | |
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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions