1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavformat
Matt Wolenetz fe7547d69e lavf/utils.c Protect against accessing entries[nb_entries]
In ff_index_search_timestamp(), if b == num_entries,
m == num_entries - 1, and entries[m].flags & AVINDEX_DISCARD_FRAME is
true, then the search for the next non-discarded packet could access
entries[nb_entries], exceeding its bounds. This change adds a protection
against that scenario. Reference: https://crbug.com/666770

Reviewed-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-12-30 00:11:18 +01:00
..
2016-07-03 04:37:48 +02:00
2016-10-17 20:41:26 +02:00
2016-12-08 18:25:30 +01:00
2016-07-17 13:10:27 -03:00
2016-10-21 19:41:09 +02:00
2016-11-26 11:28:22 +08:00
2016-07-15 10:25:02 +02:00
2016-12-22 22:47:06 +01:00
2016-09-10 16:40:47 -07:00
2016-11-08 22:27:11 +01:00
2016-11-07 00:51:49 +01:00
2016-11-10 01:18:43 +01:00
2016-11-07 00:51:49 +01:00
2016-07-02 09:30:40 +02:00
2016-10-09 20:09:00 +02:00
2016-07-17 13:10:27 -03:00
2016-12-20 13:32:15 +01:00
2016-11-23 00:57:10 +01:00
2016-10-20 19:54:54 +02:00
2016-11-23 01:16:42 +01:00
2016-07-17 13:10:27 -03:00
2016-11-02 01:16:23 -05:00
2016-06-25 15:53:11 -05:00
2016-10-09 20:09:00 +02:00
2016-08-04 16:25:40 -03:00
2016-11-07 00:51:49 +01:00