• Sam Lantinga's avatar
    Date: Wed, 29 Mar 2006 17:26:55 +0200 CEST · 403b4f89
    Sam Lantinga authored
    From: "Fran���is Revol"
    Subject: [SDL] BeOS port fix: PrintScreen key crashing
    
    It seems the latest SDL crashes when someone hits the PrtScrn key in
    ZETA (BeOS R6), somewhere it gets a negative value as key code (or a
    big unsigned maybe ?), and uses it as an index in the keysym table...
    I'll investigate the cause for the negative value, but it's always
    better to check for bounds correctly when indexing a table. The
    attached diff fixes it.
    
    Fran���is Revol
    --
    Software Architect
    yellowTAB GmbH
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401621
    403b4f89
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...