pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/xml-security-c Do not use false as pointer.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3f673f0f659
branches:  trunk
changeset: 368955:e3f673f0f659
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Sep 23 15:30:01 2017 +0000

description:
Do not use false as pointer.

diffstat:

 security/xml-security-c/distinfo                                              |   3 +-
 security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 05e9228ce43e -r e3f673f0f659 security/xml-security-c/distinfo
--- a/security/xml-security-c/distinfo  Sat Sep 23 13:15:28 2017 +0000
+++ b/security/xml-security-c/distinfo  Sat Sep 23 15:30:01 2017 +0000
@@ -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 -r 05e9228ce43e -r e3f673f0f659 security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xml-security-c/patches/patch-xsec_tools_checksig_InteropResolver.cpp     Sat Sep 23 15:30:01 2017 +0000
@@ -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;
+ 
+ }
+ 



Home | Main Index | Thread Index | Old Index