On Fri, 27 Oct 2023 05:54:04 GMT, Jayathirth D V <[email protected]> wrote:

> We skip jpeg data during decoding using imageio_skip_input_data() in both 
> src/java.desktop/share/native/libjavajpeg/imageioJPEG.c and 
> src/java.desktop/share/native/libjavajpeg/jpegdecoder.c
> 
> We update num_bytes with sb->remaining_skip in these functions and it can 
> overflow. We need to add additional check for num_bytes here.
> 
> With updated code ran all awt and imageio tests in CI and it is green.

Marked as reviewed by azvegint (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/16390#pullrequestreview-1704512797

Reply via email to