h265: aux data exceeding size results in crash. [1/1]
PD#SWPL-34380
Problem:
When parsed to eos, the aux_size of the last frame
of data is set in set_aux_data to an incorrect size.
Solution:
1.When parsed to eos, if decoding_pic is NULL,
dolby_get_meta is not called.
2.Add a size limit in the dump_aux_data function
to prevent access overbounds from causing crashes.
https://scgit.amlogic.com/#/c/119228/
The above submission only ensures no crash by limiting the aux_data size
Verify:
AH212
Change-Id: I99c369f91e3f9357d692e0abe8bf13562f172cf4
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>