ffmpeg/libavformat
wm4 3903a60d4b avio: fix potential crashes when combining ffio_ensure_seekback + crc
Calling ffio_ensure_seekback() if ffio_init_checksum() has been called
on the same context can lead to out of bounds memory accesses and
crashes. The reason is that ffio_ensure_seekback() does not update
checksum_ptr after reallocating the buffer, resulting in a dangling
pointer.

This effectively fixes potential crashes when opening mp3 files.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit dc87758775e2ce8be84e4fe598e12416e83d2845)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-07-28 02:42:14 +02:00
..
2014-08-24 11:05:42 +00:00
2014-12-01 00:31:06 +01:00
2014-10-20 10:38:38 +01:00
2014-11-19 11:17:43 +01:00
2014-12-09 20:08:03 +01:00
2014-08-30 15:50:22 +00:00
2014-08-24 11:05:42 +00:00
2014-06-18 14:55:28 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-12-22 03:17:55 +01:00
2014-07-03 15:46:26 +02:00
2014-07-13 19:18:31 +02:00
2014-07-13 19:18:31 +02:00
2014-08-15 22:47:45 +02:00
2014-09-30 20:21:14 +02:00
2015-05-23 00:55:57 +02:00
2014-08-30 16:38:14 +02:00
2014-08-24 11:05:42 +00:00
2014-12-02 11:40:01 +01:00
2015-03-21 01:52:52 +01:00
2014-12-19 18:01:31 -03:00
2014-08-15 22:47:45 +02:00
2014-09-24 23:33:26 +03:00
2014-10-21 03:52:27 +02:00
2014-10-24 09:53:45 +03:00
2014-07-19 19:44:56 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-02-12 17:10:35 +01:00
2014-09-30 20:21:14 +02:00
2014-10-22 23:12:38 +02:00
2014-08-03 03:18:52 +02:00
2015-05-21 20:43:37 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00