Skip to content

Commit

Permalink
Fixed memory overwrite in BSD joystick driver (thanks SUGIMOTO Sadahi…
Browse files Browse the repository at this point in the history
…ro!)
  • Loading branch information
slouken committed Oct 5, 2002
1 parent 44cfe47 commit 8d204f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/bsd/SDL_sysjoystick.c
Expand Up @@ -127,7 +127,7 @@ static void report_free(struct report *);
int
SDL_SYS_JoystickInit(void)
{
char s[10];
char s[16];
int i, fd;

SDL_numjoysticks = 0;
Expand Down

0 comments on commit 8d204f9

Please sign in to comment.