diff options
author | Martin Storsjö <martin@martin.st> | 2016-12-15 10:24:20 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-12-23 21:28:05 +0200 |
commit | 131644677970a3c4a0096270ea2a5b5d437c2e63 (patch) | |
tree | 8c92cbe843536284e2dc95ff7a4a0f46827d7a3e /libavcodec/vaapi_encode_mpeg2.c | |
parent | 0b77a5933635293508e7289e7cf191ed166cf070 (diff) | |
download | ffmpeg-131644677970a3c4a0096270ea2a5b5d437c2e63.tar.gz |
http: Check for negative chunk sizes
A negative chunk size is illegal and would end up used as
length for memcpy, where it would lead to memory accesses
out of bounds.
Found-by: Paul Cher <paulcher@icloud.com>
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/vaapi_encode_mpeg2.c')
0 files changed, 0 insertions, 0 deletions