Kaydet (Commit) a9abcfa2 authored tarafından Trent Mick's avatar Trent Mick

Upgrade Windows build to zlib 1.2.3 (a security fix)

üst 022c6e5f
...@@ -83,6 +83,14 @@ Library ...@@ -83,6 +83,14 @@ Library
line ending. Remove the special handling of a "\r\n" that has been split line ending. Remove the special handling of a "\r\n" that has been split
between two lines. between two lines.
Build
-----
- Upgrade Windows build to zlib 1.2.3 which eliminates a potential security
vulnerability in zlib 1.2.1 and 1.2.2.
Documentation Documentation
------------- -------------
......
...@@ -126,15 +126,15 @@ _tkinter ...@@ -126,15 +126,15 @@ _tkinter
zlib zlib
Python wrapper for the zlib compression library. Get the source code Python wrapper for the zlib compression library. Get the source code
for version 1.2.1 from a convenient mirror at: for version 1.2.3 from a convenient mirror at:
http://www.gzip.org/zlib/ http://www.gzip.org/zlib/
Unpack into dist\zlib-1.2.1. Unpack into dist\zlib-1.2.3.
A custom pre-link step in the zlib project settings should manage to A custom pre-link step in the zlib project settings should manage to
build zlib-1.2.1\zlib.lib by magic before zlib.pyd (or zlib_d.pyd) is build zlib-1.2.3\zlib.lib by magic before zlib.pyd (or zlib_d.pyd) is
linked in PCbuild\. linked in PCbuild\.
However, the zlib project is not smart enough to remove anything under However, the zlib project is not smart enough to remove anything under
zlib-1.2.1\ when you do a clean, so if you want to rebuild zlib.lib zlib-1.2.3\ when you do a clean, so if you want to rebuild zlib.lib
you need to clean up zlib-1.2.1\ by hand. you need to clean up zlib-1.2.3\ by hand.
bz2 bz2
Python wrapper for the libbz2 compression library. Homepage Python wrapper for the libbz2 compression library. Homepage
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\Include,..\PC,..\..\zlib-1.2.1" AdditionalIncludeDirectories="..\Include,..\PC,..\..\zlib-1.2.3"
PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS" PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS"
RuntimeLibrary="3" RuntimeLibrary="3"
UsePrecompiledHeader="2" UsePrecompiledHeader="2"
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="..\..\zlib-1.2.1\zlib.lib" AdditionalDependencies="..\..\zlib-1.2.3\zlib.lib"
OutputFile="./zlib_d.pyd" OutputFile="./zlib_d.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<Tool <Tool
Name="VCPreLinkEventTool" Name="VCPreLinkEventTool"
Description="Checking static zlib has been built" Description="Checking static zlib has been built"
CommandLine="cd ..\..\zlib-1.2.1 CommandLine="cd ..\..\zlib-1.2.3
nmake -nologo -f win32\Makefile.msc zlib.lib nmake -nologo -f win32\Makefile.msc zlib.lib
"/> "/>
<Tool <Tool
...@@ -92,7 +92,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib ...@@ -92,7 +92,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="2" Optimization="2"
InlineFunctionExpansion="1" InlineFunctionExpansion="1"
AdditionalIncludeDirectories="..\Include,..\PC,..\..\zlib-1.2.1" AdditionalIncludeDirectories="..\Include,..\PC,..\..\zlib-1.2.3"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS" PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS"
StringPooling="TRUE" StringPooling="TRUE"
RuntimeLibrary="2" RuntimeLibrary="2"
...@@ -110,7 +110,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib ...@@ -110,7 +110,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="..\..\zlib-1.2.1\zlib.lib" AdditionalDependencies="..\..\zlib-1.2.3\zlib.lib"
OutputFile="./zlib.pyd" OutputFile="./zlib.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -136,7 +136,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib ...@@ -136,7 +136,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib
<Tool <Tool
Name="VCPreLinkEventTool" Name="VCPreLinkEventTool"
Description="Checking static zlib has been built" Description="Checking static zlib has been built"
CommandLine="cd ..\..\zlib-1.2.1 CommandLine="cd ..\..\zlib-1.2.3
nmake -nologo -f win32\Makefile.msc zlib.lib nmake -nologo -f win32\Makefile.msc zlib.lib
"/> "/>
<Tool <Tool
...@@ -166,7 +166,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib ...@@ -166,7 +166,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib
AdditionalOptions=" /USECL:MS_ITANIUM" AdditionalOptions=" /USECL:MS_ITANIUM"
Optimization="2" Optimization="2"
InlineFunctionExpansion="1" InlineFunctionExpansion="1"
AdditionalIncludeDirectories="{MSSDKPATH}\include\Win64\atl;{MSSDKPATH}\include\Win64\crt;{MSSDKPATH}\include\Win64\crt\sys;{MSSDKPATH}\include\Win64\mfc;..\Include,..\PC,..\..\zlib-1.2.1" AdditionalIncludeDirectories="{MSSDKPATH}\include\Win64\atl;{MSSDKPATH}\include\Win64\crt;{MSSDKPATH}\include\Win64\crt\sys;{MSSDKPATH}\include\Win64\mfc;..\Include,..\PC,..\..\zlib-1.2.3"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS" PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS"
StringPooling="TRUE" StringPooling="TRUE"
BasicRuntimeChecks="0" BasicRuntimeChecks="0"
...@@ -188,7 +188,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib ...@@ -188,7 +188,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies="..\..\zlib-1.2.1\zlib.lib" AdditionalDependencies="..\..\zlib-1.2.3\zlib.lib"
OutputFile="./zlib.pyd" OutputFile="./zlib.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -214,7 +214,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib ...@@ -214,7 +214,7 @@ nmake -nologo -f win32\Makefile.msc zlib.lib
<Tool <Tool
Name="VCPreLinkEventTool" Name="VCPreLinkEventTool"
Description="Checking static zlib has been built" Description="Checking static zlib has been built"
CommandLine="cd ..\..\zlib-1.2.1 CommandLine="cd ..\..\zlib-1.2.3
nmake -nologo -f win32\Makefile.msc zlib.lib nmake -nologo -f win32\Makefile.msc zlib.lib
"/> "/>
<Tool <Tool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment