ffmpeg/libavformat
Martin Storsjö e360ada2d1 aviobuf: Write new data at s->buf_end in fill_buffer
In most cases, s->buf_ptr will be equal to s->buf_end when
fill_buffer is called, but this may not always be the case, if
we're seeking forward by reading (permitted by the short seek
threshold).

If fill_buffer is writing to s->buf_ptr instead of s->buf_end (when
they aren't equal and s->buf_ptr is ahead of s->buffer), the data
between s->buf_ptr and s->buf_end is overwritten, leading to
inconsistent buffer content. This could return incorrect data if
later seeking back into the area before the current s->buf_ptr.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-02 11:16:17 +01:00
..
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-02-21 11:23:22 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:27:08 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2010-11-03 20:12:07 +00:00
2011-03-01 12:12:33 -05:00
2008-12-13 21:58:17 +00:00
2011-03-01 12:12:33 -05:00
2011-01-29 23:55:37 +01:00
2010-06-30 15:38:06 +00:00
2011-03-01 12:12:33 -05:00
2009-12-13 20:51:38 +00:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-02-22 07:21:33 -05:00
2011-02-21 11:23:22 -05:00
2011-03-01 12:12:33 -05:00
2011-02-15 16:18:21 +01:00
2011-03-01 12:12:33 -05:00
2010-10-16 13:20:41 +00:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-01-29 23:55:37 +01:00
2011-03-02 00:23:08 +00:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-01-28 22:33:57 +00:00
2011-02-21 11:23:22 -05:00
2011-01-29 23:55:37 +01:00
2011-03-01 12:12:33 -05:00
2011-02-21 11:23:22 -05:00
2011-02-23 07:21:31 -05:00
2011-03-01 12:12:33 -05:00
2010-04-16 12:21:29 +00:00
2011-03-01 12:12:33 -05:00
2011-02-06 20:33:53 -05:00
2011-02-21 11:23:22 -05:00
2011-03-01 12:12:33 -05:00
2010-08-30 21:17:34 +00:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2010-07-20 14:13:24 +00:00
2010-07-20 14:13:24 +00:00
2011-03-01 12:12:33 -05:00
2009-07-31 06:49:36 +00:00
2010-08-16 14:21:17 +00:00
2010-08-16 14:21:17 +00:00
2011-02-23 07:21:31 -05:00
2010-07-19 11:50:07 +00:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-02-21 11:23:22 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-02-23 07:21:31 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-02-23 07:21:31 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00
2011-02-20 08:46:22 -05:00
2011-03-01 12:12:33 -05:00
2011-03-01 12:12:33 -05:00