Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd6655a

Browse files
gh-98689: Update Windows builds to zlib v1.2.13 (GH-98968)
(cherry picked from commit c085974) Co-authored-by: Zachary Ware <[email protected]>
1 parent 129de5d commit cd6655a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update Windows builds to zlib v1.2.13. v1.2.12 has CVE-2022-37434, but
2+
the vulnerable ``inflateGetHeader`` API is not used by Python.

PCbuild/get_externals.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.12.
5959
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.12.1
6060
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tix-8.4.3.6
6161
set libraries=%libraries% xz-5.2.5
62-
set libraries=%libraries% zlib-1.2.12
62+
set libraries=%libraries% zlib-1.2.13
6363

6464
for %%e in (%libraries%) do (
6565
if exist "%EXTERNALS_DIR%\%%e" (

PCbuild/python.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<opensslOutDir>$(ExternalsDir)openssl-bin-1.1.1q\$(ArchName)\</opensslOutDir>
7272
<opensslIncludeDir>$(opensslOutDir)include</opensslIncludeDir>
7373
<nasmDir>$(ExternalsDir)\nasm-2.11.06\</nasmDir>
74-
<zlibDir>$(ExternalsDir)\zlib-1.2.12\</zlibDir>
74+
<zlibDir>$(ExternalsDir)\zlib-1.2.13\</zlibDir>
7575

7676
<!-- Suffix for all binaries when building for debug -->
7777
<PyDebugExt Condition="'$(PyDebugExt)' == '' and $(Configuration) == 'Debug'">_d</PyDebugExt>

0 commit comments

Comments
 (0)