aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pcm_tablegen.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-12-02 22:47:12 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-12-04 15:20:04 +0100
commita611375db532c3d5363d97b10fadd0211811a4fd (patch)
tree3620bc8ae4a74ba64e74ea78f68e394727e77c47 /libavcodec/pcm_tablegen.c
parent488e9a06f014222720deafc48f43d9bd1973ba97 (diff)
downloadffmpeg-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 'libavcodec/pcm_tablegen.c')
0 files changed, 0 insertions, 0 deletions