Mercurial > vanilla
diff compression/bzip2/CVE-2016-3189.patch @ 577:137f5b5c5ce3
compression/bzip2: rename from lib/bzip2
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 08 Jul 2019 20:21:00 +0200 |
parents | core/bzip2/CVE-2016-3189.patch@05d3be6e849b |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compression/bzip2/CVE-2016-3189.patch Mon Jul 08 20:21:00 2019 +0200 @@ -0,0 +1,12 @@ +diff --git a/bzip2recover.c b/bzip2recover.c +index f9de049..d159c92 100644 +--- a/bzip2recover.c ++++ b/bzip2recover.c +@@ -457,6 +457,7 @@ Int32 main ( Int32 argc, Char** argv ) + bsPutUChar ( bsWr, 0x50 ); bsPutUChar ( bsWr, 0x90 ); + bsPutUInt32 ( bsWr, blockCRC ); + bsClose ( bsWr ); ++ outFile = NULL; + } + if (wrBlock >= rbCtr) break; + wrBlock++;