pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libdwarf Update 20160115 to 20161124



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9132b22c6034
branches:  trunk
changeset: 355743:9132b22c6034
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Dec 11 21:34:26 2016 +0000

description:
Update 20160115 to 20161124

This includes security fixes.

Upstream changelog
==================
libdwarf-20161124
Fixes some newly discovered vulnerabilities (most due to corrupted DWARF). Thanks to Puzzor (Shi Ji) and Agostino Sarubbo for finding and reporting these and for providing short test cases.

libdwarf-20161021
Fixes one place where erroenous dwarf not caught, Updates version strings, adds a bit more DWARF5 support, and converts the few Python scripts from python2 to python3.

libdwarf-20161001
Fixes serious bugs in release 20160929 and all earlier releases relating to encoding/decoding leb numbers. It is unlikely anyone will see any difference in output, but values showing a difference can 
be constructed. libdwarf/dwarf_leb.c has new test code and a few of the tests there demonstrated problems. gcc -fsanitize=undefined found problems as well.

libdwarf-20160929
Fixes three serious bugs in release 20160923. Two of them old bugs, one new in 20160923. The bugs were exposed by occasional inconsistent behavior in one or two regression tests.

libdwarf-20160923
DO NOT USE: use libdwarf-20161001 instead. Think of this as withdrawn. Many improvements in the code catching corrupt dwarf. Quite a number of places with out-of-bound read/write of memory fixed. 
Trivial but annoying memory leaks in dwarfdump fixed. Thanks to Puzzor, STARLAB, Salvatore Bonaccorso, Agostino Sarubbo, Vul, James Grumbach, and others for reporting memory corruption and other 
issues.

libdwarf-20160613
Incorporates code detecting malformed DWARF and malformed Elf object files. Dwarfdump and libdwarf performance reading frame data improved significantly, though the improvements don't apply to all 
frame data interface functions. The configure/make system now builds libdwarf shared objects (when asked to) with a proper soname. Thanks to Sture Carlson, Hannes Domani, etienneberg, Steve Kaufman, 
Yue Liu, and Fabian Wolff for their help/comments on libdwarf. Major thanks to Carlos Alberto Enciso for his collaboration.

libdwarf-20160507
Incorporates many additional checks so that corrupt dwarf will not crash an executable calling libdwarf. Thanks to Yue Liu for providing a number of small and corrupted objects.

diffstat:

 devel/libdwarf/Makefile |   5 +++--
 devel/libdwarf/PLIST    |   3 ++-
 devel/libdwarf/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (50 lines):

diff -r 585a7877810f -r 9132b22c6034 devel/libdwarf/Makefile
--- a/devel/libdwarf/Makefile   Sun Dec 11 20:30:35 2016 +0000
+++ b/devel/libdwarf/Makefile   Sun Dec 11 21:34:26 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2016/04/10 16:54:36 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/12/11 21:34:26 kamil Exp $
 
-DISTNAME=      libdwarf-20160115
+DISTNAME=      libdwarf-20161124
 CATEGORIES=    devel
 MASTER_SITES=  https://www.prevanders.net/
 
@@ -24,6 +24,7 @@
        ${INSTALL_MAN} ${WRKSRC}/dwarfdump/dwarfdump.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_LIB} ${WRKSRC}/libdwarf/libdwarf.a ${DESTDIR}${PREFIX}/lib
        ${INSTALL_LIB} ${WRKSRC}/libdwarf/libdwarf.so ${DESTDIR}${PREFIX}/lib
+       ${INSTALL_LIB} ${WRKSRC}/libdwarf/libdwarf.so.1 ${DESTDIR}${PREFIX}/lib
        ${INSTALL_DATA} ${WRKSRC}/libdwarf/dwarf.h ${DESTDIR}${PREFIX}/include
        ${INSTALL_DATA} ${WRKSRC}/libdwarf/libdwarf.h ${DESTDIR}${PREFIX}/include
        ${INSTALL_DATA} ${WRKSRC}/libdwarf/*.pdf ${DESTDIR}${PREFIX}/share/doc/libdwarf
diff -r 585a7877810f -r 9132b22c6034 devel/libdwarf/PLIST
--- a/devel/libdwarf/PLIST      Sun Dec 11 20:30:35 2016 +0000
+++ b/devel/libdwarf/PLIST      Sun Dec 11 21:34:26 2016 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2016/04/10 16:54:36 kamil Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/12/11 21:34:26 kamil Exp $
 bin/dwarfdump
 include/dwarf.h
 include/libdwarf.h
 lib/libdwarf.a
 lib/libdwarf.so
+lib/libdwarf.so.1
 man/man1/dwarfdump.1
 share/doc/libdwarf/libdwarf2.1.pdf
 share/doc/libdwarf/libdwarf2p.1.pdf
diff -r 585a7877810f -r 9132b22c6034 devel/libdwarf/distinfo
--- a/devel/libdwarf/distinfo   Sun Dec 11 20:30:35 2016 +0000
+++ b/devel/libdwarf/distinfo   Sun Dec 11 21:34:26 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/04/10 16:54:36 kamil Exp $
+$NetBSD: distinfo,v 1.2 2016/12/11 21:34:26 kamil Exp $
 
-SHA1 (libdwarf-20160115.tar.gz) = 15a86bc3f7fed11092e9610218b3e18a694b3fb3
-RMD160 (libdwarf-20160115.tar.gz) = b086e7ae3e3945bb418732ee2529a8b77aedd9d5
-SHA512 (libdwarf-20160115.tar.gz) = 594519460d3cd3f60f7e97931ce3e3d775393e03068a2c932d72ba95d8cdb2c53b622671c5af8a798712937b62dbf9594e2da8945553a0021a275cf677f4d90a
-Size (libdwarf-20160115.tar.gz) = 1538930 bytes
+SHA1 (libdwarf-20161124.tar.gz) = bef1cb152f5e05646b2cc3f6d9da8a594ffde69d
+RMD160 (libdwarf-20161124.tar.gz) = f1b30ea2e6a8b337a3eab2007c67e2824972738e
+SHA512 (libdwarf-20161124.tar.gz) = 38e480bce5ae8273fd585ec1d8ba94dc3e865a0ef3fcfcf38b5d92fa1ce41f8b8c95a7cf8a6e69e7c6f638a3cc56ebbfb37b6317047309725fa17e7929096799
+Size (libdwarf-20161124.tar.gz) = 1732155 bytes



Home | Main Index | Thread Index | Old Index