FFmpeg/libavcodec
Anton Khirnov 522d850e68 h264_cavlc: check the value of run_before
Section 9.2.3.2 of the spec implies that run_before must not be larger
than zeros_left.

Fixes invalid reads with corrupted files.

CC: libav-stable@libav.org
Bug-Id: 1000
Found-By: Kamil Frankowicz
2017-03-12 20:42:13 +01:00
..
2017-02-07 18:27:21 +01:00
2016-11-13 18:44:00 +01:00
2017-03-09 18:37:29 +01:00
2017-03-09 18:37:29 +01:00
2017-02-07 18:27:21 +01:00
2017-03-09 18:37:29 +01:00
2017-03-09 18:37:29 +01:00
2017-03-09 18:37:29 +01:00
2017-03-09 18:37:29 +01:00
2016-11-18 10:35:04 +01:00
2017-01-31 17:54:10 +01:00
2016-11-13 18:44:01 +01:00
2017-02-07 18:27:21 +01:00
2016-10-21 10:11:20 +02:00
2016-11-18 10:35:43 +01:00
2017-02-07 18:27:21 +01:00
2017-02-07 18:27:21 +01:00
2016-11-13 18:44:01 +01:00
2016-11-13 18:44:01 +01:00
2016-11-07 22:42:00 +01:00
2017-03-09 18:37:29 +01:00
2016-11-30 13:44:05 +01:00
2017-02-07 18:27:21 +01:00
2017-02-07 18:27:21 +01:00
2016-12-14 09:06:44 +01:00
2017-03-09 17:24:00 +01:00
2017-03-09 17:24:00 +01:00
2017-03-09 17:24:00 +01:00
2017-03-09 17:24:00 +01:00
2017-02-07 18:27:21 +01:00
2017-02-07 18:27:21 +01:00
2016-11-14 19:38:20 +00:00
2016-10-02 15:42:03 -04:00
2017-02-25 09:57:43 +01:00
2017-01-25 11:06:58 +01:00
2017-01-25 11:06:58 +01:00
2017-02-07 18:27:21 +01:00
2017-02-10 09:31:49 +02:00
2016-12-19 08:13:08 +01:00
2016-11-13 18:44:01 +01:00
2017-03-09 18:37:29 +01:00
2017-02-18 19:53:20 +00:00
2017-02-06 15:13:34 +01:00
2017-02-06 15:13:34 +01:00
2017-02-07 18:27:21 +01:00
2017-02-07 18:27:21 +01:00
2017-01-19 09:52:10 +01:00