mirror of
https://github.com/yawut/SDL.git
synced 2026-07-19 01:11:38 -05:00
Fixed memory overwrite in BSD joystick driver (thanks SUGIMOTO Sadahiro!)
This commit is contained in:
parent
f4fc520def
commit
3f55216a5b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user