[dnssec-tools/el6: 1/18] patch to fix a null dereferenc

Wes Hardaker hardaker at fedoraproject.org
Fri Jan 27 23:23:48 UTC 2012


commit a52528b06de151d01c19edd459bb612a6ce54657
Author: Wes Hardaker <opensource at hardakers.net>
Date:   Mon Nov 21 07:59:03 2011 -0800

    patch to fix a null dereferenc

 dnssec-tools-1.11-fix-null-dereference.patch |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/dnssec-tools-1.11-fix-null-dereference.patch b/dnssec-tools-1.11-fix-null-dereference.patch
new file mode 100644
index 0000000..c3617ae
--- /dev/null
+++ b/dnssec-tools-1.11-fix-null-dereference.patch
@@ -0,0 +1,15 @@
+diff --git a/dnssec-tools/validator/libval/val_verify.c b/dnssec-tools/validator/libval/val_verify.c
+index a1d8929..5157cd5 100644
+--- a/dnssec-tools/validator/libval/val_verify.c
++++ b/dnssec-tools/validator/libval/val_verify.c
+@@ -757,9 +757,8 @@ verify_next_assertion(val_context_t * ctx,
+         if (nextrr == NULL) {
+             val_log(ctx, LOG_INFO, "verify_next_assertion(): Could not link this RRSIG to a DNSKEY");
+             SET_STATUS(as->val_ac_status, the_sig, VAL_AC_DNSKEY_NOMATCH);
+-        } 
+ 
+-        if (as->val_ac_status == VAL_AC_TRUST ||
++        } else if (as->val_ac_status == VAL_AC_TRUST ||
+             (is_verified && 
+                      nextrr->rr_status == VAL_AC_TRUST_POINT)) {
+             /* we've verified a trust anchor */


More information about the scm-commits mailing list