File buffer_owerflow.patch of Package ninvaders

diff -rub ninvaders-0.1.1/aliens.c ninvaders-0.1.1-patched/aliens.c
--- ninvaders-0.1.1/aliens.c	2018-12-03 13:58:33.635261642 +0100
+++ ninvaders-0.1.1-patched/aliens.c	2018-12-03 13:58:46.419391088 +0100
@@ -163,7 +163,7 @@
 	aliens.right=-1;
 	aliens.bottom=-1;
 	shipnum=0;
-	for (k=0;k<11;k++) {
+	for (k=0;k<ALIENS_MAX_NUMBER_X;k++) {
 		lowest_ship[k]=-1;
 	}
 	
openSUSE Build Service is sponsored by