diff options
| author | Alexander Potapenko <glider@google.com> | 2019-04-04 10:56:46 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-04-22 11:43:50 -0400 |
| commit | dad7e270ba712ba1c99cd2d91018af6044447a06 (patch) | |
| tree | 389a06a987d1a682b973f8e4ace1659410df8536 /tools/perf/scripts/python | |
| parent | media: videobuf2-v4l2.c: move up STATE_DEQUEUED check (diff) | |
| download | linux-dad7e270ba712ba1c99cd2d91018af6044447a06.tar.gz linux-dad7e270ba712ba1c99cd2d91018af6044447a06.zip | |
media: vivid: use vfree() instead of kfree() for dev->bitmap_cap
syzkaller reported crashes on kfree() called from
vivid_vid_cap_s_selection(). This looks like a simple typo, as
dev->bitmap_cap is allocated with vzalloc() throughout the file.
Fixes: ef834f7836ec0 ("[media] vivid: add the video capture and output
parts")
Signed-off-by: Alexander Potapenko <glider@google.com>
Reported-by: Syzbot <syzbot+6c0effb5877f6b0344e2@syzkaller.appspotmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
