Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/5688bf57ca2b
branches:  netbsd-7-1
changeset: 449626:5688bf57ca2b
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Mar 13 11:29:57 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 c24f03a5472a -r 5688bf57ca2b external/bsd/bzip2/dist/bzip2recover.c
--- a/external/bsd/bzip2/dist/bzip2recover.c    Thu Mar 07 16:51:23 2019 +0000
+++ b/external/bsd/bzip2/dist/bzip2recover.c    Wed Mar 13 11:29:57 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.24.1 2019/03/13 11:29:57 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