Re: [FFmpeg-devel] [PATCH] avcodec/jpegxl_parser: add some icc profile checks

2023-10-04 Thread Leo Izen
On 10/3/23 13:38, Leo Izen wrote: This patch will cause the parser to abort if it detects an icc profile with an invalid size. This is particularly important if the icc profile is entropy-encoded with zero bits per symbol, as it can prevent a seemingly infinite loop during parsing. Fixes: inf

[FFmpeg-devel] [PATCH] avcodec/jpegxl_parser: add some icc profile checks

2023-10-03 Thread Leo Izen
This patch will cause the parser to abort if it detects an icc profile with an invalid size. This is particularly important if the icc profile is entropy-encoded with zero bits per symbol, as it can prevent a seemingly infinite loop during parsing. Fixes: infinite loop Fixes: 62374/clusterfuzz-tes