ManifestDigester fails with a manifest ending in CR

Philipp Kunz philipp.kunz at paratix.ch
Sun Jan 20 08:20:14 UTC 2019


Hi,
ManifestDigester fails to digest manifests that end with \r with an
array index out of bounds exception and such jar files cannot be
signed.
I cannot create a bug myself because I don't have the privileges and
could therefore not add the proper @bug tag to the test yet.
Philipp

Following up in smaller parts
https://mail.openjdk.java.net/pipermail/security-dev/2019-January/01919
3.html

Possibly related:
https://bugs.openjdk.java.net/browse/JDK-8200530
https://bugs.openjdk.java.net/browse/JDK-6954621
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/security-dev/attachments/20190120/e558669e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: manifestdigesterlinebreaks.patch
Type: text/x-patch
Size: 5963 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/security-dev/attachments/20190120/e558669e/manifestdigesterlinebreaks.patch>


More information about the security-dev mailing list