aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vorbiscomment.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-09-13 15:13:44 -0400
committerReinhard Tartler <siretart@tauware.de>2012-03-18 17:50:17 +0100
commit7fc9aa6d359e6c594a367e4db6366bc661581f56 (patch)
treee9ddc5446cae3ceb9099297bffb2558e66d2a307 /libavformat/vorbiscomment.c
parentce80957cf10e2ddbdbe6f74912c69228a8efaf35 (diff)
downloadffmpeg-7fc9aa6d359e6c594a367e4db6366bc661581f56.tar.gz
flacdec: fix buffer size checking in get_metadata_size()
Adds an additional check before reading the next block header and avoids a potential integer overflow when checking the metadata size against the remaining buffer size. (cherry picked from commit 4c5e7b27d57dd2be777780e840eef9be63242158) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/vorbiscomment.c')
0 files changed, 0 insertions, 0 deletions