WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
50378
Enable DEP at runtime to allow for compatibility with older versions of ATL
https://bugs.webkit.org/show_bug.cgi?id=50378
Summary
Enable DEP at runtime to allow for compatibility with older versions of ATL
Steve Falkenburg
Reported
2010-12-02 00:58:30 PST
Enable DEP at runtime to allow for compatibility with older versions of ATL
Attachments
Patch
(2.43 KB, patch)
2010-12-02 01:04 PST
,
Steve Falkenburg
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Steve Falkenburg
Comment 1
2010-12-02 01:04:58 PST
Created
attachment 75359
[details]
Patch
Adam Roben (:aroben)
Comment 2
2010-12-02 09:07:04 PST
Comment on
attachment 75359
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=75359&action=review
> WebKit2/WebProcess/win/WebProcessMainWin.cpp:45 > + const DWORD disableATLThunkEmulation = 0x00000002;
Maybe we don't need to declare this, since we don't use it?
> WebKit2/WebProcess/win/WebProcessMainWin.cpp:47 > + HMODULE hMod = GetModuleHandleW(L"Kernel32.dll");
Please add a :: here.
> WebKit2/WebProcess/win/WebProcessMainWin.cpp:53 > + PSETDEP procSet = reinterpret_cast<PSETDEP>(GetProcAddress(hMod, "SetProcessDEPPolicy"));
And here.
> WebKit2/WebProcess/win/WebProcessMainWin.cpp:83 > + enableDataExecutionPrevention();
Seems like this should go in WebKitMain instead. We already have similar code there.
Adam Roben (:aroben)
Comment 3
2010-12-02 09:08:29 PST
Comment on
attachment 75359
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=75359&action=review
>> WebKit2/WebProcess/win/WebProcessMainWin.cpp:83 >> + enableDataExecutionPrevention(); > > Seems like this should go in WebKitMain instead. We already have similar code there.
By putting it in WebKitMain it will get used by the plugin process, too (once we have one).
Steve Falkenburg
Comment 4
2010-12-02 09:10:58 PST
Committed
r73138
: <
http://trac.webkit.org/changeset/73138
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug