android_kernel_xiaomi_sm7250/drivers/media/platform/vivid
Hans Verkuil 29385e601f media: vivid: dev->bitmap_cap wasn't freed in all cases
[ Upstream commit 1f65ea411cc7b6ff128d82a3493d7b5648054e6f ]

Whenever the compose width/height values change, the dev->bitmap_cap
vmalloc'ed array must be freed and dev->bitmap_cap set to NULL.

This was done in some places, but not all. This is only an issue if
overlay support is enabled and the bitmap clipping is used.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: ef834f7836 ([media] vivid: add the video capture and output parts)
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-03 23:52:32 +09:00
..
Kconfig
Makefile
vivid-cec.c
vivid-cec.h
vivid-core.c
vivid-core.h
vivid-ctrls.c
vivid-ctrls.h
vivid-kthread-cap.c
vivid-kthread-cap.h
vivid-kthread-out.c
vivid-kthread-out.h
vivid-osd.c
vivid-osd.h
vivid-radio-common.c
vivid-radio-common.h
vivid-radio-rx.c
vivid-radio-rx.h
vivid-radio-tx.c
vivid-radio-tx.h
vivid-rds-gen.c
vivid-rds-gen.h
vivid-sdr-cap.c
vivid-sdr-cap.h
vivid-vbi-cap.c
vivid-vbi-cap.h
vivid-vbi-gen.c
vivid-vbi-gen.h
vivid-vbi-out.c
vivid-vbi-out.h
vivid-vid-cap.c
vivid-vid-cap.h
vivid-vid-common.c
vivid-vid-common.h
vivid-vid-out.c
vivid-vid-out.h