Re: [PATCH 1/1] jpeg: Fix possible invalid loop boundary condition

2022-04-07 Thread Daniel Kiper
On Tue, Apr 05, 2022 at 06:25:52PM +, Darren Kenny wrote: > The value of next_marker is adjusted based on the a word sized value > read from data->file. > > The updated next_marker value should reference a location in the file > just beyond the huffman table, and as such should not have a value

[PATCH 1/1] jpeg: Fix possible invalid loop boundary condition

2022-04-05 Thread Darren Kenny
The value of next_marker is adjusted based on the a word sized value read from data->file. The updated next_marker value should reference a location in the file just beyond the huffman table, and as such should not have a value larger than the size of the file. Fixes: CID 73657 Signed-off-by: Da