File maelstrom-3.0.6-netlogic_game.cpp.patch of Package maelstrom

--- netlogic/game.cpp.orig	2001-07-23 04:24:03.000000000 +0200
+++ netlogic/game.cpp	2014-09-28 13:48:00.857460134 +0200
@@ -852,7 +852,7 @@
 
 		hScores[which].wave = gWave;
 		hScores[which].score = OurShip->GetScore();
-		strcpy(hScores[which].name, handle);
+		strncpy(hScores[which].name, handle,sizeof(hScores[which].name)-1)[sizeof(hScores[which].name)-1] = 0;
 
 		sound->HaltSound();
 		sound->PlaySound(gGotPrize, 6);