+2
−3
Loading
This commit adds the missing size validation for SMK-Link remotes in sony_raw_event(), this prevents a malicious device from allowing hid-sony to read out of bounds of the provided buffer. I do not own these devices so the size check only forces that the buffer is large enough for nsg_mrxu_parse_report(). Signed-off-by:Rosalie Wanders <rosalie@mailbox.org> Signed-off-by:
Jiri Kosina <jkosina@suse.com>