Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2015 14:31:11 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398117 - in head/devel/dcmtk: . files
Message-ID:  <201509281431.t8SEVBDq018761@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509281431.t8SEVBDq018761>