[ffmpeg] avcodec/exr: fix AVERROR typo (branch master)
This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg. The following commit(s) were added to refs/heads/master by this push: new 7e10579f49 avcodec/exr: fix AVERROR typo 7e10579f49 is described below commit 7e10579f499200c464eabf7077bc35fd1206b515 Author: Michael Niedermayer <michael@niedermayer.cc> AuthorDate: Sun Feb 22 14:50:41 2026 +0100 Commit: michaelni <michael@niedermayer.cc> CommitDate: Mon Feb 23 01:44:49 2026 +0000 avcodec/exr: fix AVERROR typo Fixes: out of array read Fixes: 485866440/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_DEC_fuzzer-4520520419966976 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/exr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index ebcf84722d..d67f45b983 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1841,7 +1841,7 @@ static int decode_header(EXRContext *s, AVFrame *frame) s->is_luma = 1; } else { avpriv_request_sample(s->avctx, "Uncommon channel combination"); - ret = AVERROR(AVERROR_PATCHWELCOME); + ret = AVERROR_PATCHWELCOME; goto fail; }
participants (1)
-
Michael Niedermayer