summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorVineel Kovvuri[MSFT] <vineelko@microsoft.com>2025-11-04 03:15:10 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-05 07:12:21 +0300
commita3a180e2bc417403e563d2f1204f444afa5e4db7 (patch)
treea8268b7fdaae8e79f3e0215dbfa42f592002fd75 /MdeModulePkg
parent6d82549396f19f731920ccbbe3c2691146ae6ec9 (diff)
downloadedk2-a3a180e2bc417403e563d2f1204f444afa5e4db7.tar.xz
MdeModulePkg: Update Brotli Compress to 1.2.0
# Description Update brotli from v1.0.9 to v1.2.0 https://github.com/google/brotli/releases/tag/v1.2.0 - [ ] Breaking change? - **Breaking change** - Does this PR cause a break in build or boot behavior? - Examples: Does it add a new library class or move a module to a different repo. - [x] Impacts security? - **Security** - Does this PR have a direct security impact? - Fixes CVE-2025-6176 reported in brotli < 1.2.0. - [ ] Includes tests? - **Tests** - Does this PR include any explicit test code? - Examples: Unit tests or integration tests. ## How This Was Tested Verified booting on a virtual platform by compressing/decompressing PEI/DXE sections. ## Integration Instructions NA Signed-off-by: Vineel Kovvuri[MSFT] <vineelko@microsoft.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliCustomDecompressLib.inf2
m---------MdeModulePkg/Library/BrotliCustomDecompressLib/brotli0
-rw-r--r--MdeModulePkg/Library/BrotliCustomDecompressLib/sys/types.h9
3 files changed, 11 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliCustomDecompressLib.inf b/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliCustomDecompressLib.inf
index a96d553ccd..d07163ec72 100644
--- a/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliCustomDecompressLib.inf
+++ b/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliCustomDecompressLib.inf
@@ -49,7 +49,9 @@
brotli/c/dec/bit_reader.c
brotli/c/dec/decode.c
brotli/c/dec/huffman.c
+ brotli/c/dec/prefix.c
brotli/c/dec/state.c
+ brotli/c/dec/static_init.c
brotli/c/include/brotli/decode.h
brotli/c/include/brotli/port.h
brotli/c/include/brotli/types.h
diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli b/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli
-Subproject f4153a09f87cbb9c826d8fc12c74642bb2d879e
+Subproject 028fb5a23661f123017c060daa546b55cf4bde2
diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/sys/types.h b/MdeModulePkg/Library/BrotliCustomDecompressLib/sys/types.h
new file mode 100644
index 0000000000..bd2c4b3fce
--- /dev/null
+++ b/MdeModulePkg/Library/BrotliCustomDecompressLib/sys/types.h
@@ -0,0 +1,9 @@
+/** @file
+ Include file to support building the third-party brotli.
+
+Copyright (c) Microsoft Corporation.
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#include <brotli/types.h>