git: openjdk/jdk18u: master: 8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method

Sean Coffey coffeys at openjdk.java.net
Mon Mar 7 11:41:39 UTC 2022


Changeset: 32c0aa29
Author:    Sean Coffey <coffeys at openjdk.org>
Date:      2022-03-07 11:39:58 +0000
URL:       https://git.openjdk.java.net/jdk18u/commit/32c0aa29ffc44b4afdc5621b69d9541aff547aac

8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method

Backport-of: 1f1db838ab7d427170d59a8b55fdb45c4d80c359

! src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/DOMURIDereferencer.java
! src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/Utils.java
+ test/jdk/javax/xml/crypto/dsig/BadXPointer.java
! test/lib/jdk/test/lib/security/XMLUtils.java



More information about the jdk-updates-changes mailing list