[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2358 [Tor Client]: Windows ASLR is not enabled for tor.exe, and DEP should be forced
#2358: Windows ASLR is not enabled for tor.exe, and DEP should be forced
-------------------------+--------------------------------------------------
Reporter: special | Owner:
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.2.x-final
Component: Tor Client | Version:
Keywords: | Parent:
-------------------------+--------------------------------------------------
Changes (by special):
* status: new => needs_review
Comment:
This was much easier than I expected. Recent (March 2009) versions of the
mingw linker can set the nxcompat (forced DEP) and dynamicbase (ASLR-
compatible) options, so I wrote an autoconf test to enable these.
It appears that with nxcompat from the linker, DEP is permanent, which
makes the call to SetProcessDEPPolicy redundant. I put that in regardless,
because not all linker versions may support these options. It could be
left out.
For testing, view the properties in [http://technet.microsoft.com/en-
us/sysinternals/bb896653 Process Explorer]. DEP should be permanent, and
ASLR enabled.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2358#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs