Michael Niedermayer
4c718691ea
avcodec/cabac: Check initial cabac decoder state
Fixes integer overflows
Fixes: 1430e9c43fae47a24c179c7c54f94918/signal_sigsegv_421427_2340_591e9810c7b09efe501ad84638c9e9f8.264
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Found-by: xiedingbao (Ticket4727)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8000d484b83aafa752d84fbdbfb352ffe0dc64f8)
Conflicts:
libavcodec/cabac.h
2015-11-27 14:07:03 +01:00
..
2015-10-16 14:47:56 +02:00
2015-10-25 01:05:31 +02:00
2015-11-12 00:42:50 +01:00
2015-09-05 08:32:09 +01:00
2015-09-05 08:32:09 +01:00
2015-09-05 08:32:09 +01:00
2015-09-05 09:08:30 +01:00
2015-09-05 09:08:30 +01:00
2015-11-26 01:35:45 +01:00
2015-11-12 00:43:01 +01:00
2015-11-26 01:35:46 +01:00
2015-09-04 12:03:37 +02:00
2015-11-26 01:35:46 +01:00
2015-11-27 14:07:03 +01:00
2015-11-27 14:07:03 +01:00
2015-11-27 14:07:03 +01:00
2015-11-26 01:35:46 +01:00
2015-11-07 01:10:16 +01:00
2015-10-08 13:15:42 +02:00
2015-10-08 13:15:42 +02:00
2015-11-26 16:05:41 +01:00
2015-11-26 01:35:45 +01:00
2015-11-26 16:05:41 +01:00
2015-09-04 12:03:44 +02:00
2015-11-26 16:05:41 +01:00
2015-11-05 21:50:14 +01:00
2015-10-30 17:55:31 +01:00
2015-10-08 13:15:42 +02:00
2015-11-05 01:49:09 +01:00
2015-10-08 13:15:42 +02:00
2015-11-26 16:05:41 +01:00
2015-09-04 12:14:14 +02:00
2015-10-12 21:46:54 +02:00
2015-11-27 14:07:03 +01:00
2015-10-12 02:23:36 +02:00
2015-09-08 23:02:00 +02:00
2015-11-27 14:07:03 +01:00
2015-09-05 00:37:53 +02:00
2015-11-05 15:17:56 +01:00
2015-09-20 00:18:57 +02:00
2015-09-20 00:18:57 +02:00
2015-09-20 00:18:57 +02:00
2015-11-26 01:35:46 +01:00
2015-11-26 16:05:41 +01:00
2015-09-04 23:48:32 +02:00
2015-11-26 16:05:42 +01:00
2015-11-26 01:35:46 +01:00
2015-11-26 16:06:39 +01:00
2015-11-26 01:35:46 +01:00
2015-11-26 01:35:46 +01:00
2015-09-04 11:26:14 +02:00
2015-09-04 09:33:46 -04:00
2015-09-05 08:51:19 +01:00
2015-09-09 16:23:26 +02:00
2015-11-07 01:10:58 +01:00
2015-11-04 22:16:38 +01:00
2015-11-06 01:17:00 +01:00
2015-10-09 21:12:30 +02:00
2015-09-08 22:31:44 +02:00
2015-11-26 01:35:46 +01:00
2015-10-30 17:55:31 +01:00
2015-11-26 16:06:39 +01:00
2015-09-05 11:56:23 +02:00
2015-11-26 01:35:46 +01:00
2015-11-26 16:05:42 +01:00
2015-10-08 13:15:42 +02:00
2015-11-26 16:05:41 +01:00
2015-11-26 16:05:41 +01:00
2015-10-12 21:46:54 +02:00
2015-09-07 15:32:56 +02:00
2015-10-14 14:15:11 +02:00
2015-09-04 09:59:17 -04:00
2015-09-04 09:33:45 -04:00
2015-11-26 16:05:42 +01:00