Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | Upstream-Status: Backport |
| 2 | https://bugzilla.suse.com/attachment.cgi?id=681334 |
| 3 | |
| 4 | CVE: CVE-2016-3189 |
| 5 | Signed-off-by: Armin Kuster <akuster@mvista.com> |
| 6 | |
| 7 | Index: 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++; |