]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40458: Increase reserved stack space to prevent overflow crash on Windows (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 May 2020 18:03:21 +0000 (11:03 -0700)
committerGitHub <noreply@github.com>
Tue, 5 May 2020 18:03:21 +0000 (11:03 -0700)
(cherry picked from commit ac4bf424119d1300f57929120968e216a85d3a25)

Co-authored-by: Steve Dower <steve.dower@python.org>
Misc/NEWS.d/next/Windows/2020-05-01-20-57-57.bpo-40458.Eb0ueI.rst [new file with mode: 0644]
PCbuild/python_uwp.vcxproj
PCbuild/pythonw_uwp.vcxproj

diff --git a/Misc/NEWS.d/next/Windows/2020-05-01-20-57-57.bpo-40458.Eb0ueI.rst b/Misc/NEWS.d/next/Windows/2020-05-01-20-57-57.bpo-40458.Eb0ueI.rst
new file mode 100644 (file)
index 0000000..4dc1ff4
--- /dev/null
@@ -0,0 +1 @@
+Increase reserved stack space to prevent overflow crash on Windows.
index 5ff120a0da331a4204965e0288edbbf2b0dd866b..fb27e9e71222e3da0ca463e918824546dada2185 100644 (file)
@@ -95,6 +95,7 @@
     <Link>
       <AdditionalDependencies>windowsapp.lib;%(AdditionalDependencies)</AdditionalDependencies>
       <SubSystem>Console</SubSystem>
+      <StackReserveSize>2000000</StackReserveSize>
     </Link>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">
index 828d0d1ccac217af2cb2e4c646d273a9a5c8e209..e21e46a1b722edafdf73f86d517d8502f810b998 100644 (file)
@@ -95,6 +95,7 @@
     <Link>
       <AdditionalDependencies>windowsapp.lib;%(AdditionalDependencies)</AdditionalDependencies>
       <SubSystem>Windows</SubSystem>
+      <StackReserveSize>2000000</StackReserveSize>
     </Link>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="$(Configuration) != 'Debug'">