diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-02 22:47:12 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-04 15:20:04 +0100 |
commit | a611375db532c3d5363d97b10fadd0211811a4fd (patch) | |
tree | 3620bc8ae4a74ba64e74ea78f68e394727e77c47 /libavformat/matroska.c | |
parent | 488e9a06f014222720deafc48f43d9bd1973ba97 (diff) | |
download | ffmpeg-a611375db532c3d5363d97b10fadd0211811a4fd.tar.gz |
ffmdec: reject zero-sized chunks
If size is zero, avio_get_str fails, leaving the buffer uninitialized.
This causes invalid reads in av_set_options_string.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/matroska.c')
0 files changed, 0 insertions, 0 deletions