summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-06 19:15:18 +0100
committerJohan Hovold <johan@kernel.org>2017-01-11 12:08:57 +0100
commit2d5a9c72d0c4ac73cf97f4b7814ed6c44b1e49ae (patch)
tree212f96bdaa6e7612082a3d02d8506ec656364f70 /include/net
parent146cc8a17a3b4996f6805ee5c080e7101277c410 (diff)
USB: serial: ch341: fix control-message error handling
A short control transfer would currently fail to be detected, something which could lead to stale buffer data being used as valid input. Check for short transfers, and make sure to log any transfer errors. Note that this also avoids leaking heap data to user space (TIOCMGET) and the remote device (break control). Fixes: 6ce76104781a ("USB: Driver for CH341 USB-serial adaptor") Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
8843e511193e7eb616710e838f5852e661d'>3b4f18843e511193e7eb616710e838f5852e661d (diff)
Merge branch 'stable/for-jens-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen into for-linus
Konrad writes: Please pull in your 'for-linus' branch two little fixes for Xen block front: One fix is for handling the XEN_PAGE_SIZE != PAGE_SIZE (4KB vs 64KB on ARM for example) mishandling while the other is fixing the accounting for the configuration changes.
Diffstat (limited to 'include/uapi/video/uvesafb.h')