Skip to content
Commit 068a0df7 authored by Seung-Woo Kim's avatar Seung-Woo Kim Committed by Mauro Carvalho Chehab
Browse files

[media] media: vb2: add length check for mmap



The length of mmap() can be bigger than length of vb2 buffer, so
it should be checked.

Signed-off-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
Acked-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 27a0aacf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment