aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorPeter Wu <[email protected]>2014-12-11 12:51:19 +0000
committerJiri Kosina <[email protected]>2014-12-11 22:10:00 +0000
commit3a034a7a7d61c30809255c1fc27d47d52c8c1bb6 (patch)
tree0d86115c4a291314da2f6ddb52521cba9c782d43 /drivers/net/xen-netback/interface.c
parentHID: logitech-hidpp: check name retrieval return code (diff)
downloadkernel-3a034a7a7d61c30809255c1fc27d47d52c8c1bb6.tar.gz
kernel-3a034a7a7d61c30809255c1fc27d47d52c8c1bb6.zip
HID: logitech-hidpp: add boundary check for name retrieval
The HID response has a limited size. Do not trust the value returned by hardware, check that it really fits in the message. Signed-off-by: Peter Wu <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions