Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4095e258 authored by Vikash Garodia's avatar Vikash Garodia
Browse files

msm: vidc: define max profile level count



Existing code allocates single element array for the
supported profile level. When the supported profile and
level count increases, video drives writes on a memory
which was not allocated for this purpose. In the process,
memory corruption is observed leading to kernel panic.

Define a macro for max profile level count and avoid
updating the local stack object when venus FW sends
profile level count greater than max profile level
count

Change-Id: I2f554cdcf5f5dc505c088a006adcce1db9c98b54
CRs-Fixed: 652233
Signed-off-by: default avatarVikash Garodia <vgarodia@codeaurora.org>
parent d167001f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment