summaryrefslogtreecommitdiff
path: root/libavformat/metadata.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-02-09 18:51:11 +0000
committerReinhard Tartler <siretart@tauware.de>2010-02-09 18:51:11 +0000
commitef84190a1ab777c35ea9fec64c3ab6ce641b79e5 (patch)
tree966da386d4c234ab1b4cc9f0be10d4331684a46a /libavformat/metadata.c
parent7db16a81733e9380eaf85dd8db0e4080841243e4 (diff)
Fix possible buffer over-read in vorbis_comment, fix it double to be sure.
First, make s signed, so that comparisons against end - p will not be made as unsigned, making the check incorrectly pass if p is beyond end. Also ensure that p will never be > end, so the code is correct also if buf is not padded. backported r20014 by reimar Originally committed as revision 21711 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
Diffstat (limited to 'libavformat/metadata.c')
0 files changed, 0 insertions, 0 deletions