Commit f4d9f8e5 authored by Sam Lantinga's avatar Sam Lantinga

Fixed memory overwrite in BSD joystick driver (thanks SUGIMOTO Sadahiro!)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40504
parent 0a5479f0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment