view core/bzip2/CVE-2016-3189.patch @ 314:6c063ee48027

x11/xf86-input-mouse: initial import, closes #1365
author David Demelier <markand@malikania.fr>
date Tue, 26 Mar 2019 20:15:00 +0100
parents 05d3be6e849b
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++;