summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-20 16:43:23 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-20 16:43:23 (GMT)
commitf3bf35eee4d48e214d9684d788934262687dbea3 (patch)
tree91d02ba9f67aff0d9f0722c4b8ace04a6a8f380b
parent552e6c7284b9fd45707facee67b2105e858502f6 (diff)
downloadcpython-f3bf35eee4d48e214d9684d788934262687dbea3.zip
cpython-f3bf35eee4d48e214d9684d788934262687dbea3.tar.gz
cpython-f3bf35eee4d48e214d9684d788934262687dbea3.tar.bz2
Issue #16632: Enable DEP and ASLR on Windows.
-rw-r--r--Misc/NEWS2
-rw-r--r--PCbuild/pyproject.props5
2 files changed, 4 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d39e65c..146d46a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -307,6 +307,8 @@ Tests
Build
-----
+- Issue #16632: Enable DEP and ASLR on Windows.
+
- Issue #17791: Drop PREFIX and EXEC_PREFIX definitions from PC/pyconfig.h
- Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 6be0ba2..7c8e053 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -49,9 +49,8 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
<SubSystem>Windows</SubSystem>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <DataExecutionPrevention>
- </DataExecutionPrevention>
+ <RandomizedBaseAddress>true</RandomizedBaseAddress>
+ <DataExecutionPrevention>true</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<ResourceCompile>