summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibArchive
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-06-10 23:02:35 +0300
committerLinus Groh <mail@linusgroh.de>2022-06-10 22:32:54 +0100
commit1a641f9af7fc66df1a725fc76acba08cbbe28070 (patch)
treee7cb7988ca992c33c78b9137e3932d83ea849285 /Userland/Libraries/LibArchive
parent20c9e4c05c428f4a6ae6d955abb0429475446865 (diff)
downloadserenity-1a641f9af7fc66df1a725fc76acba08cbbe28070.zip
LibEDID: Return "Unknown" string if failed to determine the manufacturer
Before of this patch, It happened that the return string could be "@@@", as a result of doing mathematical addition of ASCII '@' with bits when decoding the packed manufacturer ID bytes from the EDID. To avoid this, consider m_legacy_manufacturer_id to be invalid until we successfully decode the packed bytes.
Diffstat (limited to 'Userland/Libraries/LibArchive')
0 files changed, 0 insertions, 0 deletions