aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/videodev2.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-09-07 14:10:27 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 12:09:34 -0200
commit211eba9e791e6f6f4c5945b7fabc1dba150075e4 (patch)
treefd5b20ed9a05cc28325773f428dc092606e479e4 /include/uapi/linux/videodev2.h
parent[media] vcodec: mediatek: add Maintainers entry for Mediatek MT8173 vcodec drivers (diff)
downloadlinux-dev-211eba9e791e6f6f4c5945b7fabc1dba150075e4.tar.xz
linux-dev-211eba9e791e6f6f4c5945b7fabc1dba150075e4.zip
[media] VPU: mediatek: fix null pointer dereference on pdev
pdev is being null checked, however, prior to that it is being dereferenced by platform_get_drvdata. Move the assignments of vpu and run to after the pdev null check to avoid a potential null pointer dereference. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Tiffany Lin <tiffany.lin@mediatek.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
0 files changed, 0 insertions, 0 deletions