summaryrefslogtreecommitdiff
path: root/i486-stage1/bzip2
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-07 19:40:36 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-07 19:40:36 +0100
commitcf39bd9c44faccb301e655c6ba0cd36fdaae1f41 (patch)
tree2b8f881547c9eff3e5b1b7ca24f258c566349254 /i486-stage1/bzip2
parente4c0b8d118646bf72d0821341ae25f36f3d06187 (diff)
downloadbootstrap32-cf39bd9c44faccb301e655c6ba0cd36fdaae1f41.tar.xz
added local copy of bugfix for bzip2 (see also FS#57421)
Diffstat (limited to 'i486-stage1/bzip2')
-rw-r--r--i486-stage1/bzip2/fix-heap-use-after-free-bzip2recover.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/i486-stage1/bzip2/fix-heap-use-after-free-bzip2recover.patch b/i486-stage1/bzip2/fix-heap-use-after-free-bzip2recover.patch
new file mode 100644
index 0000000..18d193b
--- /dev/null
+++ b/i486-stage1/bzip2/fix-heap-use-after-free-bzip2recover.patch
@@ -0,0 +1,11 @@
+diff -up ./bzip2recover.c.old ./bzip2recover.c
+--- ./bzip2recover.c.old 2016-03-22 08:49:38.855620000 +0100
++++ ./bzip2recover.c 2016-03-30 10:22:27.341430099 +0200
+@@ -458,6 +458,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++;