summaryrefslogtreecommitdiff
path: root/astraceroute/.gitignore
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-05-31 16:40:11 +0200
committerTobias Klauser <tklauser@distanz.ch>2018-05-31 16:40:11 +0200
commit50f8f250563c4f9e740f63b324e40a051230c68f (patch)
tree61d8d07f34429a5586fd9a3509ae49ef835f90d3 /astraceroute/.gitignore
parent3f26829394ea6cece4db3bae9ea0ce456c3f7ce9 (diff)
AUTHORS: add Nick Grauel
Add Nick Grauel for commit 3f26829394ea ("mausezahn: Restore handling of raw hex string passed in on command line") via PR #191. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'astraceroute/.gitignore')
0 files changed, 0 insertions, 0 deletions
occured when the report containing tablet offsets was fed into the driver with 'wacom_hid_report_raw_event' (specifically: the various 'wacom_wac_*_report' functions were written with the assumption that they would only be called once tablet setup had completed; 'wacom_wac_pen_report' in particular dereferences 'shared' which wasn't yet allocated). Moving the call to 'wacom_add_shared_data' effectively prevented the crash but also broke the sibiling detection code which assumes that the HID descriptor has been read and the various device_type flags set. To fix this situation, we restore the original 'wacom_add_shared_data' operation and location and instead implement an alternative change that can also prevent the crash. Specifically, we notice that the report functions mentioned above expect to be called only for input reports. By adding a check, we can prevent feature reports (such as the offset report) from causing trouble. Fixes: 345857bb49 ("HID: wacom: generic: Add support for sensor offsets") Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Tested-by: Ping Cheng <pingc@wacom.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/storage')