diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-16 11:28:24 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-16 12:25:23 -0300 |
commit | f37f0f1cb0108a892749867603d4c55b6f17221e (patch) | |
tree | 7be3a4261f6e1f8b195810efe3319d4117d2db7e /libre/bzip2-static/bzip2-1.0.4-bzip2recover.patch | |
parent | dec8b760c68be87582907e7491eb9cc6933472de (diff) | |
download | abslibre-f37f0f1cb0108a892749867603d4c55b6f17221e.tar.gz abslibre-f37f0f1cb0108a892749867603d4c55b6f17221e.tar.bz2 abslibre-f37f0f1cb0108a892749867603d4c55b6f17221e.zip |
bzip2-static: add new package to [libre]
Diffstat (limited to 'libre/bzip2-static/bzip2-1.0.4-bzip2recover.patch')
-rw-r--r-- | libre/bzip2-static/bzip2-1.0.4-bzip2recover.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/bzip2-static/bzip2-1.0.4-bzip2recover.patch b/libre/bzip2-static/bzip2-1.0.4-bzip2recover.patch new file mode 100644 index 000000000..e2bfe1cc1 --- /dev/null +++ b/libre/bzip2-static/bzip2-1.0.4-bzip2recover.patch @@ -0,0 +1,12 @@ +--- bzip2-1.0.4/bzip2recover.c.pom 2007-01-03 03:00:55.000000000 +0100 ++++ bzip2-1.0.4/bzip2recover.c 2007-02-05 11:55:17.000000000 +0100 +@@ -309,7 +309,8 @@ + UInt32 buffHi, buffLo, blockCRC; + Char* p; + +- strcpy ( progName, argv[0] ); ++ strncpy ( progName, argv[0], BZ_MAX_FILENAME-1); ++ progName[BZ_MAX_FILENAME-1]='\0'; + inFileName[0] = outFileName[0] = 0; + + fprintf ( stderr, |