--- /dev/null
+diff --git a/bzip2/bzip2recover.c b/bzip2/bzip2recover.c
+index 1d3f5d2..1ec1383 100644
+--- a/bzip2/bzip2recover.c
++++ b/bzip2/bzip2recover.c
+@@ -465,6 +465,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++;
Group: Applications/Archiving
Source: unzip%{version}.tar.gz
Source1: 0001-d-option-is-able-to-accept-root-directory.patch
+Source2: fix_for_CVE-2016-3189.patch
Source1001: unzip.manifest
%description
%setup -q -n %{name}%{version}
cp %{SOURCE1001} .
%{__patch} -p1 < %{SOURCE1}
+%{__patch} -p1 < %{SOURCE2}
ln -s unix/Makefile Makefile
%build