diff options
author | Johan Hovold <[email protected]> | 2022-09-13 10:53:14 +0200 |
---|---|---|
committer | Abhinav Kumar <[email protected]> | 2022-09-30 16:57:53 +0000 |
commit | 4c1294da6aed1f16d47a417dcfe6602833c3c95c (patch) | |
tree | ec34d74d73c75364ea5dedae30766b614557b2b8 /tools/perf/scripts/python/bin | |
parent | 2e786eb2f9cebb07e317226b60054df510b60c65 (diff) |
drm/msm/hdmi: 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: a3376e3ec81c ("drm/msm: convert to drm_bridge")
Cc: [email protected] # 3.12
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/502670/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions