Hello All,

Please review the following fix for JDK 15:

Bug : https://bugs.openjdk.java.net/browse/JDK-8242557 
<https://bugs.openjdk.java.net/browse/JDK-8242557> 
Webrev : http://cr.openjdk.java.net/~jdv/8242557/webrev.00/ 
<http://cr.openjdk.java.net/~jdv/8242557/webrev.00/> 

Issue : PNG specification restricts length of strings in some chunks to 
79(http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html 
<http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html> ) excluding null 
termination. But our writer implementation has no such check.
Solution : Add checks in different chunks where there must be restrictions.

Thanks,
Jay

Reply via email to