|tagger||Liming Gao <firstname.lastname@example.org>||Sat Mar 09 00:02:29 2019 +0800|
Add edk2 Q1 stable tag
|author||Ray Ni <email@example.com>||Thu Mar 07 18:35:14 2019 +0800|
|committer||Liming Gao <firstname.lastname@example.org>||Fri Mar 08 23:44:59 2019 +0800|
MdeModulePkg/HiiImage: Fix stack overflow when corrupted BMP is parsed (CVE-2018-12181) REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1135 For 4bit BMP, there are only 2^4 = 16 colors in the palette. But when a corrupted BMP contains more than 16 colors in the palette, today's implementation wrongly copies all colors to the local PaletteValue array which causes stack overflow. The similar issue also exists in the logic to handle 8bit BMP. The patch fixes the issue by only copies the first 16 or 256 colors in the palette depending on the BMP type. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ray Ni <email@example.com> Cc: Liming Gao <firstname.lastname@example.org> Cc: Jiewen Yao <email@example.com> Reviewed-by: Jian J Wang <firstname.lastname@example.org>
A modern, feature-rich, cross-platform firmware development environment for the UEFI and PI specifications from www.uefi.org.
Contributions to the EDK II open source project are covered by the TianoCore Contribution Agreement 1.1
The majority of the content in the EDK II open source project uses a BSD 2-Clause License. The EDK II open source project contains the following components that are covered by additional licenses:
The EDK II Project is composed of packages. The maintainers for each package are listed in Maintainers.txt.