view compression/bzip2/patch-CVE-2016-3189.patch @ 817:0e6c54d47dfb

vanilla: fix many FHS issues While here, remove libtool files in a generic manner to avoid stale files.
author David Demelier <markand@malikania.fr>
date Wed, 21 Aug 2019 09:04:13 +0200
parents compression/bzip2/CVE-2016-3189.patch@137f5b5c5ce3
children
line wrap: on
line source

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++;