diff options
| author | Andrew F. Davis <[email protected]> | 2019-03-29 13:34:27 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-05-29 13:07:56 -0400 |
| commit | 835706214875de6e6f8b9d01ceeed17b20622677 (patch) | |
| tree | b560188e1daf6287030afb5b84008f7a464c3794 /tools/perf/scripts/python | |
| 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 <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions