diff options
| author | Steve Longerbeam <[email protected]> | 2019-06-26 14:52:25 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-07-23 11:42:39 -0400 |
| commit | 02c25c003405776084d440c30041a33836b74710 (patch) | |
| tree | 4a4597f5310bfb1acbce6a984a77b7861463f279 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 1a03f91c2c2419c3709c4554952c66695575e91c (diff) | |
media: staging/imx: Fix NULL deref in find_pipeline_entity()
Fix a cut&paste error in find_pipeline_entity(). The start entity must be
passed to media_entity_to_video_device() in find_pipeline_entity(), not
pad->entity. The pad is only put to use later, after determining the start
entity is not the entity being searched for.
Fixes: 3ef46bc97ca2 ("media: staging/imx: Improve pipeline searching")
Reported-by: Colin Ian King <[email protected]>
Signed-off-by: Steve Longerbeam <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions