commit | 835706214875de6e6f8b9d01ceeed17b20622677 | [log] [tgz] |
---|---|---|
author | Andrew F. Davis <afd@ti.com> | Fri Mar 29 13:34:27 2019 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Wed May 29 13:07:56 2019 -0400 |
tree | b560188e1daf6287030afb5b84008f7a464c3794 | |
parent | 6211e44a4dfc2a12c5d40984ab876537bf0d0830 [diff] |
media: videobuf-dma-contig: Use size of buffer in mmap not vma size The size of the vma can be larger than the size of the backing buffer. Use the buffer size over vma size to prevent exposing extra memory to userspace. Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>