summaryrefslogtreecommitdiff
path: root/screen.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-03-21 23:58:17 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-03-23 09:49:01 +0100
commit895fdbb7d6b01e207103c8924c1c853f0fafee15 (patch)
tree82943772f9c5939df0785e1c8a1168019f90a5fa /screen.h
parent451275470106024f106a310a5af050b3ca046a4f (diff)
flowtop: Print error cause if errno is set when panic
Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'screen.h')
0 files changed, 0 insertions, 0 deletions
remove&id=83e526f2a2fa4b2e82b6bd3ddbb26b70acfa8947&id2=d9b2997e4a0a874e452df7cdd7de5a54502bd0aa'>diff)
usb: gadget: f_fs: Assorted buffer overflow checks.
OS descriptor head, when flagged as provided, is accessed without checking if it fits in provided buffer. Verify length before access. Also, there are other places where buffer length it checked after accessing offsets which are potentially past the end. Check buffer length before as well to fail cleanly. Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/common/Makefile')