• Ryan C. Gordon's avatar
    Date: Sun, 14 Sep 2003 17:04:55 -0400 · 794bba8f
    Ryan C. Gordon authored
    From: Philip D.S. Thoren <pthoren@cs.uml.edu>
    Reply-To: "sdl@libsdl.org" <sdl@libsdl.org>
    To: "sdl@libsdl.org" <sdl@libsdl.org>
    Subject: [SDL] BUG in src/video/windx5/SDL_dx5events.c
    
       I tracked down a bug that crashed my program on Windows *all* the
    time.
    
        FILE: src/video/windx5/SDL_dx5events.c
    
        FUNCTION: handle_mouse
        BUG:
            SDL_PublicSurface is being dereferenced when it is NULL.
                   I added the following to the very begining of handle_mouse
            and it solved my crashing problems:
    
            if (SDL_PublicSurface == NULL) return;
    
    ~ Philip D.S. Thoren
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40718
    794bba8f
Name
Last commit
Last update
..
audio Loading commit data...
cdrom 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...