Skip to content

Commit

Permalink
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (
Browse files Browse the repository at this point in the history
GH-32241) (GH-32251)

(cherry picked from commit 6066739)

Co-authored-by: Zachary Ware <zach@python.org>
  • Loading branch information
miss-islington and zware committed Apr 4, 2022
1 parent d97497b commit 387f93c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update ``zlib`` to v1.2.12 to resolve CVE-2018-25032.
2 changes: 1 addition & 1 deletion PCbuild/get_externals.bat
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.9.0
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.9.0
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tix-8.4.3.6
set libraries=%libraries% xz-5.2.2
set libraries=%libraries% zlib-1.2.11
set libraries=%libraries% zlib-1.2.12

for %%e in (%libraries%) do (
if exist "%EXTERNALS_DIR%\%%e" (
Expand Down
2 changes: 1 addition & 1 deletion PCbuild/python.props
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<opensslOutDir>$(ExternalsDir)openssl-bin-1.1.1n\$(ArchName)\</opensslOutDir>
<opensslIncludeDir>$(opensslOutDir)include</opensslIncludeDir>
<nasmDir>$(ExternalsDir)\nasm-2.11.06\</nasmDir>
<zlibDir>$(ExternalsDir)\zlib-1.2.11\</zlibDir>
<zlibDir>$(ExternalsDir)\zlib-1.2.12\</zlibDir>

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

0 comments on commit 387f93c

Please sign in to comment.