summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-09-23 15:30:01 +0000
committerjoerg <joerg@pkgsrc.org>2017-09-23 15:30:01 +0000
commitd749eea016ac21a199d23d8d1818a5253307d083 (patch)
tree516fc5061fd128955cfc99fb37db18f60f1dfcf3
parent3dc620193b406311b72e80d0fffd3f3c07d09545 (diff)
downloadpkgsrc-d749eea016ac21a199d23d8d1818a5253307d083.tar.gz
Do not use false as pointer.
-rw-r--r--security/xml-security-c/distinfo3
-rw-r--r--security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/security/xml-security-c/distinfo b/security/xml-security-c/distinfo
index 70275a247e7..de2a12ba247 100644
--- a/security/xml-security-c/distinfo
+++ b/security/xml-security-c/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2016/10/09 03:17:18 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2017/09/23 15:30:01 joerg Exp $
SHA1 (xml-security-c-1.7.3.tar.gz) = bcbe98e0bd3695a0b961a223cce53e2f35c4681b
RMD160 (xml-security-c-1.7.3.tar.gz) = f0c9c3668a3ff2e13647909b926e20fdba828ad2
SHA512 (xml-security-c-1.7.3.tar.gz) = ea46709d6706edf345e19132d9998774e50dc7b5947a7b4a55e3627998f5ac66f976fdff0a5015ef3cee73c03c04f3c4cf993efd397082491c2000c6548b89d2
Size (xml-security-c-1.7.3.tar.gz) = 909320 bytes
SHA1 (patch-xsec_Makefile.in) = f610c63b888f8f744a5de5b47975eb7dc4aee55b
+SHA1 (patch-xsec_tools_checksig_InteropResolver.cpp) = bdc668a7f0212113d0efbaf189e7021a44108e26
diff --git a/security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp b/security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp
new file mode 100644
index 00000000000..fb8529bb1ab
--- /dev/null
+++ b/security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-xsec_tools_checksig_InteropResolver.cpp,v 1.1 2017/09/23 15:30:01 joerg Exp $
+
+false is a bad pointer value.
+
+--- xsec/tools/checksig/InteropResolver.cpp.orig 2017-09-23 12:23:36.663288313 +0000
++++ xsec/tools/checksig/InteropResolver.cpp
+@@ -645,7 +645,7 @@ XSECCryptoKey * InteropResolver::resolve
+
+ }
+
+- return false;
++ return NULL;
+
+ }
+