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

Skip to content

Commit f3bf35e

Browse files
committed
Issue #16632: Enable DEP and ASLR on Windows.
1 parent 552e6c7 commit f3bf35e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ Tests
307307
Build
308308
-----
309309

310+
- Issue #16632: Enable DEP and ASLR on Windows.
311+
310312
- Issue #17791: Drop PREFIX and EXEC_PREFIX definitions from PC/pyconfig.h
311313

312314
- Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH

PCbuild/pyproject.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@
4949
<GenerateDebugInformation>true</GenerateDebugInformation>
5050
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
5151
<SubSystem>Windows</SubSystem>
52-
<RandomizedBaseAddress>false</RandomizedBaseAddress>
53-
<DataExecutionPrevention>
54-
</DataExecutionPrevention>
52+
<RandomizedBaseAddress>true</RandomizedBaseAddress>
53+
<DataExecutionPrevention>true</DataExecutionPrevention>
5554
<TargetMachine>MachineX86</TargetMachine>
5655
</Link>
5756
<ResourceCompile>

0 commit comments

Comments
 (0)