Skip to content
Commit ed221d66 authored by Hao Ge's avatar Hao Ge Committed by Hans Verkuil
Browse files

media: intel/ipu6: Fix a null pointer dereference in ipu6_isys_query_stream_by_source

stream is NULL when source is less than 0 in
ipu6_isys_query_stream_by_source. It's a null pointer dereference.

Actually, this should be isys->adev->auxdev.dev.

Fixes: 3c1dfb5a

 ("media: intel/ipu6: input system video nodes and buffer queues")
Signed-off-by: default avatarHao Ge <gehao@kylinos.cn>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 62028aa0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment