Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-465

SignedInfo Reference constructor does not check for case of zero child elements

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Java 2.0.8
    • Fix Version/s: Java 2.1.0, Java 2.0.9
    • Component/s: Java
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              putmanb@georgetown.edu Brent Putman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: