pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/doxygen Fix null pointer deref in xml generator....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69341cee8f00
branches:  trunk
changeset: 362609:69341cee8f00
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri May 19 14:56:00 2017 +0000

description:
Fix null pointer deref in xml generator. Bump revision.

diffstat:

 devel/doxygen/Makefile                     |   3 ++-
 devel/doxygen/distinfo                     |   3 ++-
 devel/doxygen/patches/patch-src_xmlgen.cpp |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 4aa08e428eda -r 69341cee8f00 devel/doxygen/Makefile
--- a/devel/doxygen/Makefile    Fri May 19 14:47:50 2017 +0000
+++ b/devel/doxygen/Makefile    Fri May 19 14:56:00 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.131 2017/04/26 21:18:35 wiz Exp $
+# $NetBSD: Makefile,v 1.132 2017/05/19 14:56:00 joerg Exp $
 
 DISTNAME=      doxygen-1.8.13.src
 PKGNAME=       ${DISTNAME:S/.src//}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ftp://ftp.stack.nl/pub/users/dimitri/
 MASTER_SITES+= http://ftp.stack.nl/pub/users/dimitri/
diff -r 4aa08e428eda -r 69341cee8f00 devel/doxygen/distinfo
--- a/devel/doxygen/distinfo    Fri May 19 14:47:50 2017 +0000
+++ b/devel/doxygen/distinfo    Fri May 19 14:56:00 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.63 2017/04/26 13:40:37 prlw1 Exp $
+$NetBSD: distinfo,v 1.64 2017/05/19 14:56:00 joerg Exp $
 
 SHA1 (doxygen-1.8.13.src.tar.gz) = a3c812346d2ebd7b2e79ed1fec3a6aa3aedd5f7b
 RMD160 (doxygen-1.8.13.src.tar.gz) = 00f6f8baeead8c3d99eabe1d61ffefa4e48af1f9
@@ -6,3 +6,4 @@
 Size (doxygen-1.8.13.src.tar.gz) = 4893912 bytes
 SHA1 (patch-ac) = 87c68a2ce598c10d90d775764f4c05739eb51435
 SHA1 (patch-ah) = c1a7f35fe2adcfd094c3ba0f81fee47a027bcf82
+SHA1 (patch-src_xmlgen.cpp) = 686712d6524b396ba3b4e4e613194d19de66ff8c
diff -r 4aa08e428eda -r 69341cee8f00 devel/doxygen/patches/patch-src_xmlgen.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/doxygen/patches/patch-src_xmlgen.cpp        Fri May 19 14:56:00 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_xmlgen.cpp,v 1.1 2017/05/19 14:56:00 joerg Exp $
+
+Upstream 0f02761a158a5e9ddbd5801682482af8986dbc35
+
+--- src/xmlgen.cpp.orig        2017-05-19 12:06:13.730040298 +0000
++++ src/xmlgen.cpp
+@@ -620,7 +620,7 @@ static void generateXMLForMember(MemberD
+     if (md->isInline()) t << "yes"; else t << "no";
+     t << "\"";
+ 
+-    if (al->refQualifier!=RefQualifierNone)
++    if (al!=0 && al->refQualifier!=RefQualifierNone)
+     {
+       t << " refqual=\"";
+       if (al->refQualifier==RefQualifierLValue) t << "lvalue"; else t << "rvalue";



Home | Main Index | Thread Index | Old Index