• Sam Lantinga's avatar
    Fixed bug #855 · dc78cb75
    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 Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
loadso Loading commit data...
main Loading commit data...
stdlib Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
SDL.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...