File moon-lander-overflow.patch of Package moon-lander
--- moon_lander.c +++ moon_lander.c @@ -24,6 +24,7 @@ #include <sys/types.h> #include <unistd.h> #include <dirent.h> +#include <time.h> #ifndef WIN32_BUILD #include <pwd.h> @@ -346,7 +347,7 @@ int position = 0; char options[5][100]; char display_string[150]; - char selected_text[2]; + char selected_text[3]; int count; int value[5]; Uint8 *key_table;