diff options
| author | Yunfei Dong <[email protected]> | 2023-08-02 22:53:02 +0800 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-08-10 07:58:34 +0200 |
| commit | 1972e32431ed14682909ad568c6fd660572ae6ab (patch) | |
| tree | f3fe7e827cac26cd7215906f885aca28c0c553db /tools/perf/scripts/python | |
| parent | 655b86e52eacdce79c2e02c5ec7258a97fcc2e4a (diff) | |
media: mediatek: vcodec: Fix possible invalid memory access for encoder
The vpu maybe null pointer or unreasonable value when scp crash, need to
validate that the vpu pointer and the vpu instance within this context is
valid in case of leading to kernel reboot.
Fixes: 27a274db6b4c ("[media] vcodec: mediatek: Add Mediatek VP8 Video Encoder Driver")
Signed-off-by: Yunfei Dong <[email protected]>
Reported-by: Steve Cho <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions