Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7-0]: src/external/bsd/bzip2/dist Pull up following revision(s) (...



details:   https://anonhg.NetBSD.org/src/rev/f0a6fbf3693e
branches:  netbsd-7-0
changeset: 449627:f0a6fbf3693e
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Mar 13 11:30:23 2019 +0000

description:
Pull up following revision(s) (requested by martin in ticket #1684):
        external/bsd/bzip2/dist/bzip2recover.c: revision 1.4
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 b1e1d9f625da -r f0a6fbf3693e external/bsd/bzip2/dist/bzip2recover.c
--- a/external/bsd/bzip2/dist/bzip2recover.c    Thu Mar 07 16:52:15 2019 +0000
+++ b/external/bsd/bzip2/dist/bzip2recover.c    Wed Mar 13 11:30:23 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.3.16.1 2019/03/13 11:30:23 msaitoh 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