aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2013-04-19 07:18:01 -0300
committerMauro Carvalho Chehab <[email protected]>2013-04-25 09:54:00 -0300
commit7f8414594e4755234fd0ca415630cfe2dfab42ce (patch)
tree4fc8507e954362d9f5898703e0c10dbd1651b2b8 /tools/perf/scripts/python
parentb3404a8ef567de43b74018bbdbd989b53426d422 (diff)
[media] media: videobuf2: fix the length check for mmap
Memory maps typically require that the buffer size to be page aligned. Currently, two memops drivers do such alignment internally, but videobuf-vmalloc doesn't. Also, the buffer overflow check doesn't take it into account. So, instead of doing it at each memops driver, enforce it at VB2 core. Reported-by: Prabhakar lad <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Acked-by: Marek Szyprowski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions