diff options
author | Yunfei Dong <[email protected]> | 2024-03-14 20:30:09 +0800 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-03-26 09:52:59 +0100 |
commit | afaaf3a0f647a24a7bf6a2145d8ade37baaf75ad (patch) | |
tree | 1239a7a710d37984df598d659deb8bb73ca1bab5 /scripts/generate_rust_analyzer.py | |
parent | 6467cda18c9f9b5f2f9a0aa1e2861c653e41f382 (diff) |
media: mediatek: vcodec: adding lock to protect encoder context list
Add a lock for the ctx_list, to avoid accessing a NULL pointer
within the 'vpu_enc_ipi_handler' function when the ctx_list has
been deleted due to an unexpected behavior on the SCP IP block.
Fixes: 1972e32431ed ("media: mediatek: vcodec: Fix possible invalid memory access for encoder")
Signed-off-by: Yunfei Dong <[email protected]>
Reviewed-by: Nicolas Dufresne <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Sebastian Fricke <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions