You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Brent Putman (JIRA)" <ji...@apache.org> on 2017/06/07 21:15:18 UTC
[jira] [Created] (SANTUARIO-465) SignedInfo Reference constructor
does not check for case of zero child elements
Brent Putman created SANTUARIO-465:
--------------------------------------
Summary: 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
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)