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

Philip Race philip.race at oracle.com
Thu Dec 8 00:56:45 UTC 2016


+1

Yes, it needs a CCC update. A quick "bug fix" one.

-phil.

On 12/6/16, 2:03 PM, Brian Burkhalter wrote:
> 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?
>
> Thanks,
>
> Brian



More information about the 2d-dev mailing list