• Sam Lantinga's avatar
    Date: Sat, 10 Jul 2004 21:02:33 +0200 · cebd45ab
    Sam Lantinga authored
    From: "Philippe Plantier (ayin)"
    Subject: [SDL] Problems allocating large surfaces
    
    There are problems when allocating large surfaces using SDL_CreateRGBSurface.
    
    When, for example, we try to allocate a surface wider than 16384 pixels,
    the calculation of the pitch overflows; this leads to a surface that
    has the w and h flags correctly set, but whose "pixels" buffer is too
    small. That may lead to heap corruption.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40941
    cebd45ab
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
endian Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
main Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
.cvsignore Loading commit data...
Makefile.am 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...
SDL_getenv.c Loading commit data...
SDL_loadso.c Loading commit data...