audk/RedfishPkg/Library/BaseUcs2Utf8Lib
Savva Mitrofanov f47aa892ca RedfishPkg/BaseUcs2Utf8Lib: Fix out of bounds shift in UTF8ToUCS2Char
Missing masks leads to shift out of bounds. Also there is no need to
construct CHAR16 using cast to CHAR8 buffer, better to use native endian
by assigning data directly into Ucs2Char variable

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
Reviewed-by: Marvin Häuser <mhaeuser@posteo.de>
2024-07-22 12:45:14 +03:00
..
BaseUcs2Utf8Lib.c RedfishPkg/BaseUcs2Utf8Lib: Fix out of bounds shift in UTF8ToUCS2Char 2024-07-22 12:45:14 +03:00
BaseUcs2Utf8Lib.inf RedfishPkg/Ucs2Utf8lib: UCS2 to UFT8 manipulation library 2021-01-09 03:08:51 +00:00