aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-06-17 14:33:01 -0700
committerRodrigo Vivi <[email protected]>2021-07-06 15:10:58 -0400
commit07b72960d2b4a087ff2445e286159e69742069cc (patch)
treea9135b59752e3ea26f7a3ec9b775949992730229 /scripts/gdb/linux/genpd.py
parent8a02ea42bc1d4c448caf1bab0e05899dad503f74 (diff)
drm/i915/display: Do not zero past infoframes.vsc
intel_dp_vsc_sdp_unpack() was using a memset() size (36, struct dp_sdp) larger than the destination (24, struct drm_dp_vsc_sdp), clobbering fields in struct intel_crtc_state after infoframes.vsc. Use the actual target size for the memset(). Fixes: 1b404b7dbb10 ("drm/i915/dp: Read out DP SDPs") Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Reviewed-by: José Roberto de Souza <[email protected]> Signed-off-by: José Roberto de Souza <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit c88e2647c5bb45d04dc4302018ebe6ebbf331823) Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions