aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-06-17 21:03:29 -0300
committerMauro Carvalho Chehab <[email protected]>2016-06-28 12:04:18 -0300
commitb4dfb9b35a192f555d76fc4f670a447657bcc183 (patch)
tree432a3b27489ff1c9983c23bd1fb24a22f05df75c /scripts/gcc-plugins/cyc_complexity_plugin.c
parenteb9163d3bd2700ea3c6570a07e7548f678211dac (diff)
[media] v4l: vsp1: Stop the pipeline upon the first STREAMOFF
The device is stopped when STREAMOFF is called on the last video node in the pipeline. This results in possible memory corruption and/or crashes, as userspace could free buffers while the hardware is still writing to them, and the frame completion interrupt handler could try to access buffers that don't exist anymore. Fix this by stopping the pipeline upon the first STREAMOFF call, not the last. Reported-by: Kuninori Morimoto <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions