[FFmpeg-devel] [PATCH v2] avcodec/jpegxl_parser: fix OOB read regression

Leo Izen leo.izen at gmail.com
Mon Oct 16 13:44:43 EEST 2023


On 10/14/23 20:49, Leo Izen wrote:
> In f7ac3512f5b5cb8eb149f37300b43461d8e93af3 the size of the dynamically
> allocated buffer was shrunk, but it was made too small for very small
> alphabet sizes. This patch restores the size to prevent an OOB read.
> 
> Reported-by: Cole Dilorenzo <coolkingcole at gmail.com>
> Signed-off-by: Leo Izen <leo.izen at gmail.com>
> ---

Will push soon as it fixes a fuzzer case.

- Leo Izen



More information about the ffmpeg-devel mailing list