This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/7.1 in repository ffmpeg.
commit c261a5b405022d5c7e1d47a80d85180dff9fc1a9 Author: ASTRA <[email protected]> AuthorDate: Thu Apr 23 22:26:30 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 15:57:25 2026 +0200 avformat/wavdec: Fix use-of-uninitialized-value in find_guid() Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 163ba704b7f579350d7765951c87882a8a20c54c) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/wavdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 7748a2fbb4..315c82c93b 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -694,7 +694,8 @@ static int64_t find_guid(AVIOContext *pb, const uint8_t guid1[16]) int64_t size; while (!avio_feof(pb)) { - avio_read(pb, guid, 16); + if (avio_read(pb, guid, 16) != 16) + break; size = avio_rl64(pb); if (size <= 24 || size > INT64_MAX - 8) return AVERROR_INVALIDDATA; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
