Commit 475d4bd7 authored by michael's avatar michael

All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not exploitable)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14070 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 43d86045
...@@ -205,7 +205,7 @@ static void id3v2_read_ttag(AVFormatContext *s, int taglen, char *dst, int dstle ...@@ -205,7 +205,7 @@ static void id3v2_read_ttag(AVFormatContext *s, int taglen, char *dst, int dstle
break; break;
case 3: /* UTF-8 */ case 3: /* UTF-8 */
len = FFMIN(taglen, dstlen); len = FFMIN(taglen, dstlen-1);
get_buffer(s->pb, dst, len); get_buffer(s->pb, dst, len);
dst[len] = 0; dst[len] = 0;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment