git: openjdk/jdk: 8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method
Weijun Wang
weijun at openjdk.java.net
Wed Dec 15 17:03:06 UTC 2021
Changeset: 1f1db838
Author: Weijun Wang <weijun at openjdk.org>
Date: 2021-12-15 17:00:55 +0000
URL: https://git.openjdk.java.net/jdk/commit/1f1db838ab7d427170d59a8b55fdb45c4d80c359
8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method
Reviewed-by: mullan
! 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-changes
mailing list