libavc/decoder
Harish Mahendrakar a9915afb55 decoder: Signal IVD_RES_CHANGED error for change in crop params
IVD_RES_CHANGED was not signaled when crop parameters changed, i.e.
display dimensions changed without change in decode dimensions.

In such cases, if output buffer was allocated as per the current
dimension being decoded, without IVD_RES_CHANGED signalled, there can be
an OOB write if the new buffer is smaller than the frame being returned
as output

Bug: 118399205
Test: vendor
Change-Id: Ia750a99cda08a3254a6f8ea8b55d07e655b34d05
(cherry picked from commit 442a01bf37)
2019-01-16 18:55:40 +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 DO NOT MERGE Decoder: Added support for exporting VUI params 2016-07-11 22:21:03 +00:00
ih264d_api.c Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev am: afc729db25 am: 1fb89d8488 am: 56f836a29c am: 33675f68d6 am: 547804d647 am: 7adc4d57f1 am: cfe44b34c0 am: 17b987beec 2018-01-08 22:49:54 +00:00
ih264d_bitstrm.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_bitstrm.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_cabac.c fix file permissions 2015-05-05 17:51:34 +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 Decoder: Increased allocation and added checks in sei parsing. am: f2b70d3537 am: 8d32a711ac am: a0827a3bb1 am: cd831159ce am: 2a3efcfcde am: 013d98b763 am: 48d8b5bbc9 am: ccc5298ffb am: a1f8cef8c4 2017-10-31 18:41:52 +00:00
ih264d_dpb_manager.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_dpb_mgr.c [automerger] Decoder: Modify setting short term reference field flag am: 47cc04b40c am: 1991ec77e7 am: c18d0ab03a am: 8f05a87c39 am: ce46d15877 am: 8781a2aa9b am: 9cb460fb64 am: bae32f4c46 am: b8dd278100 2018-03-28 17:26:02 +00:00
ih264d_error_handler.h DO NOT MERGE Decoder: Added support for exporting VUI params 2016-07-11 22:21:03 +00:00
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: Updated error check while parsing num_ref_idx_lx_active." into mnc-dev 2017-09-13 05:51:32 +00:00
ih264d_parse_cabac.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_cabac.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_cavlc.c Decoder: Fix stack underflow in CAVLC 4x4 parse functions 2016-02-22 14:54:08 -08:00
ih264d_parse_cavlc.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_headers.c decoder: Signal IVD_RES_CHANGED error for change in crop params 2019-01-16 18:55:40 +00:00
ih264d_parse_headers.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_islice.c Merge "Decoder: Fix end of bitstream error." into mnc-dev am: 810356f4de am: 65077f6cfe am: 82c7a3628e am: fa3361f209 am: b1d2064d95 am: c81da59a51 am: 5b33069e8f am: 45c34bc177 2017-05-16 21:15:17 +00: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 Merge "Decoder: Updated error check while parsing num_ref_idx_lx_active." into mnc-dev 2017-09-13 05:51:32 +00:00
ih264d_parse_slice.c [automerger] Decoder: Set prev slice type for I slice. am: aecdfd1aff 2018-01-29 23:19:09 +00:00
ih264d_parse_slice.h Decoder: Moved end of pic processing to end of decode call 2017-02-14 16:58:07 +00:00
ih264d_process_bslice.c Decoder: Fixed overflow in refernce list creation. 2017-07-07 10:34:44 -07:00
ih264d_process_bslice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_process_intra_mb.c Fix stack buffer overflow in ih264d_process_intra_mb 2017-05-10 15:58:24 +00:00
ih264d_process_intra_mb.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_process_pslice.c Decoder: Fixed overflow in refernce list creation. 2017-07-10 18:49:51 +00:00
ih264d_process_pslice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_quant_scaling.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_quant_scaling.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_sei.c DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing. 2017-10-17 15:09:06 -07:00
ih264d_sei.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_structs.h Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev am: 4d0407c0bb am: 3bde3e435c am: 9247bdc4e7 am: be207cd092 am: 79cc418c53 am: 4b46ed02da am: e43612817e am: 69c211c3f6 2017-11-02 23:54:26 +00: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: Fixed memory overflow in shared display mode. am: c3b026a87d am: 0183e8df10 am: 53b26e4caa am: 64df5835a4 am: f55fa2495d am: 01f26b3531 am: 8467cf1390 am: bc664e6fa7 am: 6c5f746f25 am: f8f4968473 2018-01-08 20:24:46 +00:00
ih264d_utils.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_vui.c DO NOT MERGE Decoder: Initialize few VUI params to signal unspecified values 2016-07-11 22:29:33 +00: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 Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00