You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2017/06/08 10:03:18 UTC
[jira] [Resolved] (SANTUARIO-465) SignedInfo Reference constructor
does not check for case of zero child elements
[ https://issues.apache.org/jira/browse/SANTUARIO-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved SANTUARIO-465.
-------------------------------------------
Resolution: Fixed
> SignedInfo Reference constructor does not check for case of zero child elements
> -------------------------------------------------------------------------------
>
> Key: SANTUARIO-465
> URL: https://issues.apache.org/jira/browse/SANTUARIO-465
> Project: Santuario
> Issue Type: Bug
> Components: Java
> Affects Versions: Java 2.0.8
> Reporter: Brent Putman
> Assignee: Colm O hEigeartaigh
> Fix For: Java 2.1.0, Java 2.0.9
>
>
> The {{Reference}} constructor does not check for the case where the parsed DOM contains zero child elements, and winds up throwing a {{NullPointerException}} in this case. Since the constructor's signature does specify to throw a checked {{XMLSecurityException}}, it should probably check and throw that instead, as it already does for the case of an invalid # of transforms.
> This was originally reported to OpenSAML by someone else. More details in the linked external issue.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)