summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2014-04-03 19:21:03 +0800
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-10-01 17:25:31 +0200
commit2536c1ac76790b12554fe8e277ef2dcbc5f58242 (patch)
tree96a0c00aa52bcf07351d69e17b21f99b75e4a683 /payloads/libpayload
parentda01d9435163a1799fdbf8c60c988bb2f8566f29 (diff)
edid: Fix string extraction in Monitor Descriptors.
The ASCII Data String in EDID Monitor Descriptor (3.10.3) is "Stored as ASCII, code page #437" and may contain special characters like '-'. The isalnum check should be removed. Also, the "Monitor Name" (0xfc) does not need to always end with 0Ah, so the name_descriptor_terminated should be replaced by has_valid_string_termination. Change-Id: I12a670237e12577fc971c0fbd9b2a61c82040ad3 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/193001 (cherry picked from commit 671f82fd5963e32e72d3886aa242cb3e8519f226) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6996 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload')
0 files changed, 0 insertions, 0 deletions