Blame SOURCES/bzip2-1.0.4-bzip2recover.patch

165719
--- bzip2-1.0.4/bzip2recover.c.pom	2007-01-03 03:00:55.000000000 +0100
165719
+++ bzip2-1.0.4/bzip2recover.c	2007-02-05 11:55:17.000000000 +0100
165719
@@ -309,7 +309,8 @@
165719
    UInt32      buffHi, buffLo, blockCRC;
165719
    Char*       p;
165719
 
165719
-   strcpy ( progName, argv[0] );
165719
+   strncpy ( progName, argv[0], BZ_MAX_FILENAME-1);
165719
+   progName[BZ_MAX_FILENAME-1]='\0';
165719
    inFileName[0] = outFileName[0] = 0;
165719
 
165719
    fprintf ( stderr,