diff options
author | Johan Hovold <[email protected]> | 2023-03-02 08:47:04 +0100 |
---|---|---|
committer | Douglas Anderson <[email protected]> | 2023-03-02 10:27:17 -0800 |
commit | 4d8457fe0eb9c80ff7795cf8a30962128b71d853 (patch) | |
tree | 006ec537a64db612d5d37eacf5a2196a9d854670 /drivers/gpu/drm/meson/meson_vpp.c | |
parent | 77bc762451c2dc72bdbea07b857c916c9e7f4952 (diff) |
drm/edid: fix info leak when failing to get panel id
Make sure to clear the transfer buffer before fetching the EDID to
avoid leaking slab data to the logs on errors that leave the buffer
unchanged.
Fixes: 69c7717c20cc ("drm/edid: Dump the EDID when drm_edid_get_panel_id() has an error")
Cc: [email protected] # 6.2
Cc: Douglas Anderson <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/meson/meson_vpp.c')
0 files changed, 0 insertions, 0 deletions