diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-10-13 15:18:46 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-03 23:52:32 +0900 |
| commit | 29385e601f3420cfe46550271714b6685719eb33 (patch) | |
| tree | d0e9ab8bc7a30768b5e0aa286cbfa1e14d25235c /include/uapi/linux/ip.h | |
| parent | c106967b34725dfb1c76a914b6c2e2773936323f (diff) | |
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: ef834f7836ec ([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>
Diffstat (limited to 'include/uapi/linux/ip.h')
0 files changed, 0 insertions, 0 deletions
