diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-26 19:46:19 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-26 19:48:04 +0200 |
commit | 8c50cf10d6d200a8c2485d1267c7410b96183369 (patch) | |
tree | 2424ba550dbc4058cfad1df5173f9b9c7d488428 /main/bzip2/CVE-2016-3189.patch | |
parent | de9f14d078fbf5bca5c5583db3088bd57985a086 (diff) | |
download | aports-8c50cf10d6d200a8c2485d1267c7410b96183369.tar.bz2 aports-8c50cf10d6d200a8c2485d1267c7410b96183369.tar.xz |
main/bzip2: security fix for CVE-2016-3189
Diffstat (limited to 'main/bzip2/CVE-2016-3189.patch')
-rw-r--r-- | main/bzip2/CVE-2016-3189.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/bzip2/CVE-2016-3189.patch b/main/bzip2/CVE-2016-3189.patch new file mode 100644 index 0000000000..6622670c91 --- /dev/null +++ b/main/bzip2/CVE-2016-3189.patch @@ -0,0 +1,12 @@ +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++; |