Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/bzip2/dist Apply fix for CVE-2016-3189 bzip2: h...
details: https://anonhg.NetBSD.org/src/rev/16e1750dc3bf
branches: trunk
changeset: 449423:16e1750dc3bf
user: martin <martin%NetBSD.org@localhost>
date: Wed Mar 06 07:21:55 2019 +0000
description:
Apply fix for CVE-2016-3189 bzip2: heap use after free in bzip2recover
diffstat:
external/bsd/bzip2/dist/bzip2recover.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r add54f7ebc14 -r 16e1750dc3bf external/bsd/bzip2/dist/bzip2recover.c
--- a/external/bsd/bzip2/dist/bzip2recover.c Wed Mar 06 05:59:25 2019 +0000
+++ b/external/bsd/bzip2/dist/bzip2recover.c Wed Mar 06 07:21:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bzip2recover.c,v 1.3 2012/05/07 00:45:47 wiz Exp $ */
+/* $NetBSD: bzip2recover.c,v 1.4 2019/03/06 07:21:55 martin Exp $ */
/*-----------------------------------------------------------*/
/*--- Block recoverer program for bzip2 ---*/
@@ -472,6 +472,7 @@
bsPutUChar ( bsWr, 0x50 ); bsPutUChar ( bsWr, 0x90 );
bsPutUInt32 ( bsWr, blockCRC );
bsClose ( bsWr );
+ outFile = NULL;
}
if (wrBlock >= rbCtr) break;
wrBlock++;
Home |
Main Index |
Thread Index |
Old Index