projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb68ed
)
Fix a read past end of buffer crash in the mp3 probe
author
Alex Converse
<alex.converse@gmail.com>
Tue, 20 Jan 2009 08:00:39 +0000
(08:00 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Tue, 20 Jan 2009 08:00:39 +0000
(08:00 +0000)
Originally committed as revision 16693 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mp3.c
patch
|
blob
|
history
diff --git
a/libavformat/mp3.c
b/libavformat/mp3.c
index
ec8c0bb
..
eca9ad4
100644
(file)
--- a/
libavformat/mp3.c
+++ b/
libavformat/mp3.c
@@
-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;