diff options
author | Johan Hovold <[email protected]> | 2022-09-13 10:53:13 +0200 |
---|---|---|
committer | Abhinav Kumar <[email protected]> | 2022-09-30 16:57:53 +0000 |
commit | 2e786eb2f9cebb07e317226b60054df510b60c65 (patch) | |
tree | 98c0ed064c16a3337c9ca38b9c7e17c4bb624a03 /scripts/generate_rust_analyzer.py | |
parent | 74466e46e7543c7f74f1502181e9ba93f7521374 (diff) |
drm/msm/dsi: fix memory corruption with too many bridges
Add the missing sanity check on the bridge counter to avoid corrupting
data beyond the fixed-sized bridge array in case there are ever more
than eight bridges.
Fixes: a689554ba6ed ("drm/msm: Initial add DSI connector support")
Cc: [email protected] # 4.1
Signed-off-by: Johan Hovold <[email protected]>
Tested-by: Kuogee Hsieh <[email protected]>
Reviewed-by: Kuogee Hsieh <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/502668/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions