summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2018-06-05 02:24:15 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-27 12:39:57 +0200
commit95f5cbff90b9e4324839a5c28ee3153a3c9921a5 (patch)
tree433445e511e3f235df9c8693fadb0a24d2a1a98e /net/ceph
parentmedia: uvcvideo: Add KSMedia 8-bit IR format support (diff)
downloadlinux-95f5cbff90b9e4324839a5c28ee3153a3c9921a5.tar.xz
linux-95f5cbff90b9e4324839a5c28ee3153a3c9921a5.zip
media: uvcvideo: Also validate buffers in BULK mode
Just like for ISOC, validate the decoded BULK buffer size when possible. This avoids sending corrupted or partial buffers to userspace, which may lead to application crash or run-time failure. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> [laurent.pinchart@ideasonboard.com: Move uvc_video_validate_buffer() call to uvc_video_next_buffers()] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions