mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
avcodec/tiertexseqv: reject RLE code tables that do not cover the block
Found during triage of the security report V9Z2ZdGQsUo6 Fixes: V9Z2ZdGQsUo6 Fixes: use of uninitialized memory Use of uninitialized memory Replicated through UnModified FFmpeg with MSAN
This commit is contained in:
1 parent
c896bbb245
commit
acbf987d7b
1 file changed
+2
@@ -72,6 +72,8 @@ static const unsigned char *seq_unpack_rle_block(const unsigned char *src,
|
||||
dst += len;
|
||||
dst_size -= len;
|
||||
}
|
||||
if (dst_size > 0)
|
||||
return NULL;
|
||||
return src;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user