the following patch was just integrated into master: commit 40e89b4e5a04aa515bcfec896db4f8d29519d4f5 Author: David Hendricks dhendrix@chromium.org Date: Thu Aug 13 15:51:00 2015 -0700
edid: Memset output earlier in decode_edid()
This ensures the output buffer is initialized before exiting decode_edid() so that if the return value is ignored in higher-level logic (like when dealing with external displays) we don't leave the struct filled with garbage.
BUG=chrome-os-partner:42946 BRANCH=firmware-veyron TEST=none
Change-Id: I557e2495157458342db6d8b0b1ecb39f7267f61f Signed-off-by: Patrick Georgi patrick@georgi-clan.de Original-Commit-Id: bb12dca133576543efa4d3bcc9aadf85d37c8b71 Original-Change-Id: I697436fffadc7dd3af239436061975165a97ec8c Original-Signed-off-by: David Hendricks dhendrix@chromium.org Original-Reviewed-on: https://chromium-review.googlesource.com/293547 Original-Reviewed-by: Julius Werner jwerner@chromium.org Reviewed-on: http://review.coreboot.org/11389 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
See http://review.coreboot.org/11389 for details.
-gerrit