svn commit: r398117 - in head/devel/dcmtk: . files

Thomas Zander riggs at FreeBSD.org
Mon Sep 28 14:31:11 UTC 2015


Author: riggs
Date: Mon Sep 28 14:31:10 2015
New Revision: 398117
URL: https://svnweb.freebsd.org/changeset/ports/398117

Log:
  Fix crash in OFListBase destructor on CURRENT
  
  - Import an upstream fix for OFListBase destructor crash, see
    git commitdiff link in PR.
  - Bump PORTREVISION
  
  PR:		200544
  Submitted by:	mp39590 at gmail.com

Added:
  head/devel/dcmtk/files/patch-ofstd_libsrc_oflist.cc   (contents, props changed)
Modified:
  head/devel/dcmtk/Makefile

Modified: head/devel/dcmtk/Makefile
==============================================================================
--- head/devel/dcmtk/Makefile	Mon Sep 28 14:24:08 2015	(r398116)
+++ head/devel/dcmtk/Makefile	Mon Sep 28 14:31:10 2015	(r398117)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dcmtk
 DISTVERSION=	3.6.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	ftp://dicom.offis.de/pub/dicom/offis/software/${PORTNAME}/${PORTNAME}${PORTVERSION:S/.//g}/
 

Added: head/devel/dcmtk/files/patch-ofstd_libsrc_oflist.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/dcmtk/files/patch-ofstd_libsrc_oflist.cc	Mon Sep 28 14:31:10 2015	(r398117)
@@ -0,0 +1,13 @@
+--- ofstd/libsrc/oflist.cc.orig	2015-05-30 20:13:25 UTC
++++ ofstd/libsrc/oflist.cc
+@@ -50,8 +50,8 @@ OFListBase::OFListBase()
+ OFListBase::~OFListBase()
+ {
+     base_clear();
+-    if (afterLast)
+-        delete afterLast;
++    delete afterLast;
++    afterLast = NULL;
+ }
+ 
+ OFListLinkBase * OFListBase::base_insert(OFListLinkBase * pos,


More information about the svn-ports-head mailing list