You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Scott Cantor (JIRA)" <ji...@apache.org> on 2017/12/27 14:59:00 UTC

[jira] [Commented] (SANTUARIO-475) Null Pointer in XSECC14n20010315

    [ https://issues.apache.org/jira/browse/SANTUARIO-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16304578#comment-16304578 ] 

Scott Cantor commented on SANTUARIO-475:
----------------------------------------

You have maybe a couple of weeks to get me a test case to use to debug this.

> Null Pointer in XSECC14n20010315
> --------------------------------
>
>                 Key: SANTUARIO-475
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-475
>             Project: Santuario
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: C++ 1.7.3
>         Environment: Windows
>            Reporter: Patrick Hagelkruys
>            Assignee: Scott Cantor
>
> Hello, 
> I got an Nullpointer expetion in the XSECC14n20010315 class. 
> File: xsec/canon/XSECC14n20010315.cpp
> Line: 1535
> {code:java}
> 		mp_currentAttribute = mp_currentAttribute->next;
> {code}
> to fix the exeption I've added a Null check:
> {code:java}
> 		if (NULL != mp_currentAttribute)
> 		{
> 			mp_currentAttribute = mp_currentAttribute->next;
> 		}	
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)