loader: Mark the stack as executable if possible.

Alexandre Julliard julliard at winehq.org
Wed Nov 15 13:11:19 CST 2006


Peter Beutner <p.beutner at gmx.net> writes:

> Alexandre Julliard schrieb:
>> Peter Beutner <p.beutner at gmx.net> writes:
>> 
>>> Besides i think it's a bad idea to blindly mark pages executable like this:
>>>
>>> "hey, we successfully catched an attempted buffer overflow attack, thanks for NX. But lets
>>> ignore it and let the code run anyway ..." :p
>> 
>> Well, the next step can be to pop up a message box of some kind, and
>> let the user decide whether to proceed or not. It still gives more
>> control than blindly making all pages executable from the start...
> And that everytime the application runs? Would be a bit annoying I guess.

Of course you can have a "don't ask me again for this app" checkbox,
or choose to enable only for the current session, or choose to disable
for all apps forever, etc.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list