This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit aeb2f37573bad158d006c22626276f98d63f645b Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Sep 25 01:44:12 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Fri Sep 25 00:49:05 2026 +0000 avformat/rtpdec_h263_rfc2190: validate that a payload follows the header The read stays within the packet, this is input validation, not a memory safety fix. --- libavformat/rtpdec_h263_rfc2190.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavformat/rtpdec_h263_rfc2190.c b/libavformat/rtpdec_h263_rfc2190.c index 6211e95bae..d8088ff2cf 100644 --- a/libavformat/rtpdec_h263_rfc2190.c +++ b/libavformat/rtpdec_h263_rfc2190.c @@ -118,6 +118,11 @@ static int h263_handle_packet(AVFormatContext *ctx, PayloadContext *data, buf += header_size; len -= header_size; + if (!len) { + av_log(ctx, AV_LOG_ERROR, "H.263 RTP packet without payload\n"); + return AVERROR_INVALIDDATA; + } + if (!data->buf) { /* Check the picture start code, only start buffering a new frame * if this is correct */ -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
