aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/rational.c
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2023-10-03 13:38:25 -0400
committerLeo Izen <leo.izen@gmail.com>2023-10-05 19:28:50 -0400
commitec74553205a4e52598f9799d03fb2682f7d23831 (patch)
treebb97b841ce67fc8988c4baa4ff2fd834caa9c386 /libavutil/rational.c
parentd2d3a83ad932161a2c572416d7ddfe460a15bba5 (diff)
downloadffmpeg-ec74553205a4e52598f9799d03fb2682f7d23831.tar.gz
avcodec/jpegxl_parser: add some icc profile checks
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-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer -5551878085410816 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reported-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'libavutil/rational.c')
0 files changed, 0 insertions, 0 deletions