[OpenJDK 2D-Dev] [9] RFR JDK-8169728: Missing sign checks in TIFFField(TIFFTag tag, int type, int count, Object data) for TIFFTag.TIFF_LONG

Brian Burkhalter brian.burkhalter at oracle.com
Tue Dec 6 22:03:49 UTC 2016

Please review at your convenience:

Issue:	https://bugs.openjdk.java.net/browse/JDK-8169728
Patch:	http://cr.openjdk.java.net/~bpb/8169728/webrev.00/

To the primary constructor TIFFField(TIFFTag,int,int,Object), add some range checks for TIFF_LONG, TIFF_RATIONAL, and TIFF_IFD_POINTER, and some array size checks for TIFF_RATIONAL and TIFF_SRATIONAL.

Does the new IllegalArgumentException case warrant a CCC review?



More information about the 2d-dev mailing list