Commit 120dea23 authored by alexc's avatar alexc

Fix a read past end of buffer crash in the mp3 probe

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16693 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8ea923f7
......@@ -364,7 +364,7 @@ static int mp3_read_probe(AVProbeData *p)
max_frames = 0;
buf = buf0;
end = buf + p->buf_size - sizeof(uint32_t);
end = p->buf + p->buf_size - sizeof(uint32_t);
for(; buf < end; buf= buf2+1) {
buf2 = buf;
......
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