[SDL] [Patch] SDL-1.2 SDL_revcpy() asm patch for the cld flag
Ryan C. Gordon
icculus at icculus.org
Mon Feb 4 09:25:29 PST 2008
> as reported through the FreeBSD bug tracking system in SDL 1.2.13 (and
> in the 1.2 branch, if I see that correctly) the SDL_revcpy() macro sets
> the direction flag (std), but does not clear it afterwards (cld), which
> is wrong according to the GCC and SYS V specs. This can cause some
> weird side effects, which in turn can lead to memory corruption.
Fixed in svn revision #3535 for the 1.2 branch, and #3536 for the 1.3
branch, thanks!
--ryan.
More information about the SDL
mailing list