libavc/decoder
Harish Mahendrakar 23247c8142 Move slice increments after completing header parsing
Slice increments are now done after completing header parse.
Earlier this was done before validating mmco related parameters
and calculating poc. In case there were errors that were detected
at this stage, slice increments were incorrect.

Bug: 199536974
Bug: 199733300
Bug: 205702093
Bug: oss-fuzz#38387
Bug: oss-fuzz#38482
Bug: oss-fuzz#40851
Test: ossfuzz generated poc in bug

Change-Id: I8569e9369e4ab6f6c69c81b937f111c299b7a134
(cherry picked from commit cd0385dc07)
(cherry picked from commit dc110841d6)
Merged-In:I8569e9369e4ab6f6c69c81b937f111c299b7a134
2021-12-15 00:01:15 +00:00
..
arm fix file permissions 2015-05-05 17:51:34 +00:00
mips fix file permissions 2015-05-05 17:51:34 +00:00
x86 fix file permissions 2015-05-05 17:51:34 +00:00
ih264d.h libavc: Add MDCV, CLL, CCV and AVE SEI messages 2019-10-24 17:20:00 +05:30
ih264d_api.c Decoder: add support to use ih264d instead of ivd structures 2021-02-25 05:31:40 +00:00
ih264d_bitstrm.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_bitstrm.h Decoder: Fix heap buffer overflow. 2020-07-29 23:47:11 +00:00
ih264d_cabac.c Decoder: Fix heap buffer overflow. 2020-07-29 23:47:11 +00:00
ih264d_cabac.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_cabac_init_tables.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_compute_bs.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_deblocking.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_deblocking.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_debug.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_defs.h Merge "Decoder: Integer overflow fixes in parsing Qp and weights" 2020-08-20 15:24:02 +00:00
ih264d_dpb_manager.h Decoder: Fix NPD issue in mmco function 2020-09-16 17:07:13 +05:30
ih264d_dpb_mgr.c Decoder: Fix NPD issue in mmco function 2020-09-16 17:07:13 +05:30
ih264d_error_handler.h Decoder: Fix integer overflow in parse slice 2020-11-17 23:34:54 +05:30
ih264d_format_conv.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_format_conv.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_function_selector.h Remove an unused and unnecessary function prototype and associated define 2015-06-25 08:25:51 -07:00
ih264d_function_selector_generic.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_inter_pred.c Decoder: Fixes for handling errors in multi-slice MB Aff streams 2016-09-22 18:19:55 +00:00
ih264d_inter_pred.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_mb_utils.c Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_mb_utils.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_mem_request.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_mvpred.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_mvpred.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_nal.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_nal.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_bslice.c Merge "Decoder: Fix integer overflow when scaling motion vectors" 2020-10-11 05:09:38 +00:00
ih264d_parse_cabac.c Decoder: Fix integer sanitizer issues in ih264d_parse_cabac 2019-03-28 14:40:27 -07:00
ih264d_parse_cabac.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_cavlc.c Decoder: Fix Integer Sanitizer Issues in ih264d_parse_cavlc 2019-03-28 14:40:34 -07:00
ih264d_parse_cavlc.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_headers.c Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855 2020-11-23 13:14:11 -08:00
ih264d_parse_headers.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_islice.c Decoder: Integer overflow fixes in parsing Qp and weights 2020-08-06 23:10:15 -07:00
ih264d_parse_islice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_mb_header.c Decoder: Remove unnecssary optimization while setting MV context 2016-11-24 12:20:42 +05:30
ih264d_parse_mb_header.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_pslice.c Decoder: Fix unsigned integer overflow 2020-08-28 15:02:17 +05:30
ih264d_parse_slice.c Move slice increments after completing header parsing 2021-12-15 00:01:15 +00:00
ih264d_parse_slice.h Decoder: Delete node from st if lt and st point to same 2019-06-12 09:54:49 +00:00
ih264d_process_bslice.c Decoder: Fix integer overflow when scaling motion vectors 2020-09-18 22:59:16 +05:30
ih264d_process_bslice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_process_intra_mb.c Decoder: Initialize some array and structure to zero 2018-11-01 14:35:05 -07:00
ih264d_process_intra_mb.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_process_pslice.c Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) 2020-08-27 10:16:27 -07:00
ih264d_process_pslice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_quant_scaling.c Added error check while parsing scaling_list 2019-07-22 13:55:21 -07:00
ih264d_quant_scaling.h Added error check while parsing scaling_list 2019-07-22 13:55:21 -07:00
ih264d_sei.c Decoder: Fix heap buffer overflow. 2020-07-29 23:47:11 +00:00
ih264d_sei.h libavc: Add MDCV, CLL, CCV and AVE SEI messages 2019-10-24 17:20:00 +05:30
ih264d_structs.h Merge changes I015ebe03,Idc0b0db5 2019-10-31 18:59:50 -07:00
ih264d_tables.c Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read 2017-01-17 16:12:12 -08:00
ih264d_tables.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_compute_bs.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_compute_bs.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_parse_decode.c Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_thread_parse_decode.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_transfer_address.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_utils.c Decoder: Fix integer overflow in parse slice 2020-11-17 23:34:54 +05:30
ih264d_utils.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_vui.c Decoder: Return error for invalid vui parameter 2018-04-19 10:38:25 -07:00
ih264d_vui.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
iv.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ivd.h Merge changes I015ebe03,Idc0b0db5 2019-10-31 18:59:50 -07:00