summaryrefslogtreecommitdiff
path: root/net/l3mdev/l3mdev.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-12 18:17:43 +0100
committerJiri Kosina <jkosina@suse.cz>2017-01-13 11:59:32 +0100
commit7a546af50eb78ab99840903083231eb635c8a566 (patch)
tree16e370ecc364cfb39cfcf6324351070199cad955 /net/l3mdev/l3mdev.c
parent6d104af38b570d37aa32a5803b04c354f8ed513d (diff)
HID: corsair: fix control-transfer error handling
Make sure to check for short control transfers in order to avoid parsing uninitialised buffer data and leaking it to user space. Note that the backlight and macro-mode buffer constraints are kept as loose as possible in order to avoid any regressions should the current buffer sizes be larger than necessary. Fixes: 6f78193ee9ea ("HID: corsair: Add Corsair Vengeance K90 driver") Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net/l3mdev/l3mdev.c')
0 files changed, 0 insertions, 0 deletions
M when racing with cpuset mems update mm, page_alloc: move cpuset seqcount checking to slowpath mm, page_alloc: fix fast-path race with cpuset update or removal mm, page_alloc: fix check for NULL preferred_zone kernel/panic.c: add missing \n fbdev: color map copying bounds checking frv: add atomic64_add_unless() mm/mempolicy.c: do not put mempolicy before using its nodemask radix-tree: fix private list warnings Documentation/filesystems/proc.txt: add VmPin mm, memcg: do not retry precharge charges proc: add a schedule point in proc_pid_readdir() mm: alloc_contig: re-allow CMA to compact FS pages mm/slub.c: trace free objects at KERN_INFO ...
Diffstat (limited to 'drivers/usb/serial/ipaq.c')