diff options
author | Katerina Barone-Adesi <katerinab@gmail.com> | 2014-09-16 01:40:24 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-09-17 07:50:55 -0700 |
commit | b989bb7adee0f3286dcaa63c5cd0753eac45f6be (patch) | |
tree | 8bc0153d43301bad03a4b44ff6ba39679be93706 /libavcodec/a64multienc.c | |
parent | 893b353362bc220280efd8d14c4878a1cafe18a8 (diff) | |
download | ffmpeg-b989bb7adee0f3286dcaa63c5cd0753eac45f6be.tar.gz |
apetag: Fix APE tag size check
The size variable is (correctly) unsigned, but is passed to several functions
which take signed parameters, such as avio_read, sometimes after having
numbers added to it. So ensure that size remains within the bounds that
these functions can handle.
(cherry picked from commit 56ac2cbd0464e0146e62c91843e2b1f5e0908504)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Conflicts:
libavformat/apetag.c
Diffstat (limited to 'libavcodec/a64multienc.c')
0 files changed, 0 insertions, 0 deletions