commit | 0cfb7a9ca089c76f67465177a2c5e0bab04f95d0 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Sat Oct 01 11:48:15 2016 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Sat Oct 01 11:48:15 2016 -0700 |
tree | 552c681eb3725d081dbb538403032125520c9b17 | |
parent | 57e994ed3beef5cba1411c145997610608547783 [diff] |
Fixed bug 3338 - console_wmain doesn't null terminate the argv array Simon Hug The function console_wmain in src/main/windows/SDL_windows_main.c does not null terminate the argument list it is creating. As specified by the C standard, "argv[argc] shall be a null pointer." The SDLTest framework makes use of that null pointer and some test programs can cause an access violation because it's missing.