blob: 1d0c3a6dd34f82c3e4495fff9c042a86842ebe6e [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001Upstream-Status: Backport
2https://bugzilla.suse.com/attachment.cgi?id=681334
3
4CVE: CVE-2016-3189
5Signed-off-by: Armin Kuster <akuster@mvista.com>
6
7Index: bzip2-1.0.6/bzip2recover.c
8===================================================================
9--- bzip2-1.0.6.orig/bzip2recover.c
10+++ bzip2-1.0.6/bzip2recover.c
11@@ -457,6 +457,7 @@ Int32 main ( Int32 argc, Char** argv )
12 bsPutUChar ( bsWr, 0x50 ); bsPutUChar ( bsWr, 0x90 );
13 bsPutUInt32 ( bsWr, blockCRC );
14 bsClose ( bsWr );
15+ outFile = NULL;
16 }
17 if (wrBlock >= rbCtr) break;
18 wrBlock++;