diff options
Diffstat (limited to 'meta/recipes-extended/bzip2/bzip2-1.0.6/CVE-2016-3189.patch')
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2-1.0.6/CVE-2016-3189.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-extended/bzip2/bzip2-1.0.6/CVE-2016-3189.patch b/meta/recipes-extended/bzip2/bzip2-1.0.6/CVE-2016-3189.patch new file mode 100644 index 0000000000..1d0c3a6dd3 --- /dev/null +++ b/meta/recipes-extended/bzip2/bzip2-1.0.6/CVE-2016-3189.patch | |||
@@ -0,0 +1,18 @@ | |||
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++; | ||