summaryrefslogtreecommitdiff
path: root/src/xmldsig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmldsig.c')
-rw-r--r--src/xmldsig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmldsig.c b/src/xmldsig.c
index 7d8760b..61e3507 100644
--- a/src/xmldsig.c
+++ b/src/xmldsig.c
@@ -2333,6 +2333,7 @@ xmlSecDSigReferenceCtxProcessNodeEx(xmlSecDSigReferenceCtxPtr dsigRefCtx, xmlNod
/* read attributes first */
dsigRefCtx->uri = xmlGetProp(node, xmlSecAttrURI);
+ xmlSecAssert2(dsigRefCtx->uri != NULL, -1);
while(pNextTmp[i] != NULL) {
len = strlen(pNextTmp[i]);