# HG changeset patch # User Sam Lantinga # Date 1033795969 0 # Node ID 2ee72e47ca08a6ff1e35ef65a88e102ee8d09259 # Parent 80a3d09bab297aeb089fdcbc842dadd863a93623 Fixed memory overwrite in BSD joystick driver (thanks SUGIMOTO Sadahiro!) diff -r 80a3d09bab29 -r 2ee72e47ca08 src/joystick/bsd/SDL_sysjoystick.c --- a/src/joystick/bsd/SDL_sysjoystick.c Sat Oct 05 05:11:20 2002 +0000 +++ b/src/joystick/bsd/SDL_sysjoystick.c Sat Oct 05 05:32:49 2002 +0000 @@ -127,7 +127,7 @@ int SDL_SYS_JoystickInit(void) { - char s[10]; + char s[16]; int i, fd; SDL_numjoysticks = 0;