-
Sam Lantinga authored
Ludwig Nussel 2009-10-18 06:31:52 PDT an mprotect call was added to fix bug 528. However that results in a buffer that allows writing and code execution. Ie the no-execute security features of modern operating systems are defeated this way. Two mprotect calls are needed. One to make the buffer executable but not writeable when done and another one to make the buffer writeable again if the content needs to be changed. --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404112
dc78cb75
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
audio | ||
cdrom | ||
cpuinfo | ||
events | ||
file | ||
hermes | ||
joystick | ||
loadso | ||
main | ||
stdlib | ||
thread | ||
timer | ||
video | ||
SDL.c | ||
SDL_error.c | ||
SDL_error_c.h | ||
SDL_fatal.c | ||
SDL_fatal.h |