mirror of https://gitee.com/openkylin/linux.git
0862d95b43
If an error happens in jpeg_get_drv_data(), i.e. match fails, jpeg->variant field is NULL, so we cannot access it. Consider device probe failed if jpeg->variant is NULL. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Baskov Evgeniy <baskov@ispras.ru> Acked-by: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com> Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
jpeg-core.c | ||
jpeg-core.h | ||
jpeg-hw-exynos4.c | ||
jpeg-hw-exynos4.h | ||
jpeg-hw-exynos3250.c | ||
jpeg-hw-exynos3250.h | ||
jpeg-hw-s5p.c | ||
jpeg-hw-s5p.h | ||
jpeg-regs.h |