ManifestDigester fails with a manifest ending in CR

Weijun Wang weijun.wang at oracle.com
Sun Jan 20 09:27:47 UTC 2019


Hi Philipp 

This fix is also part of another fix you proposed for jarsigner re-signing. Shall we fix it in one big changeset? IMO this is not serious enough to be included in JDK 12 and let’s fix all in JDK 13. 

Thanks
Max


> 在 2019年1月20日,16:20,Philipp Kunz <philipp.kunz at paratix.ch> 写道:
> 
> 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/019193.html
> 
> Possibly related:
> https://bugs.openjdk.java.net/browse/JDK-8200530
> https://bugs.openjdk.java.net/browse/JDK-6954621
> 
> <manifestdigesterlinebreaks.patch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20190120/6031b10e/attachment.htm>


More information about the security-dev mailing list