h265: fix a crash in set_aux_data. [1/1]
authorGan Zhang <gan.zhang@amlogic.com>
Thu, 30 Jul 2020 02:41:52 +0000 (10:41 +0800)
committergan.zhang <gan.zhang@amlogic.com>
Tue, 29 Sep 2020 02:43:43 +0000 (10:43 +0800)
commit0ca4a05b5ca182ed4619dc9aeaec31e6876031f8
tree4354f200d5f35d581fd22d674e8bc482d3367a90
parent90197eabab127513e0db9a2b4440f0fdf08f57f3
h265: fix a crash in set_aux_data. [1/1]

PD#SWPL-32695

Problem:
aux data Size exceeds the allocated buff size.

Solution:
When the size exceeds the allocated size, set aux size to 0.

Verify:
U215

Change-Id: Ic15a60b95f8061c93a2ee7c96e23466e42a4d110
Signed-off-by: Gan Zhang <gan.zhang@amlogic.com>
drivers/frame_provider/decoder/h265/vh265.c