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

Skip to content
Commit 216f9837 authored by Sankeerth Billakanti's avatar Sankeerth Billakanti
Browse files

disp: msm: hdcp: avoid sink message processing when hdcp is off



Skip processing the sink message in sde_hdcp_2x_main thread when hdcp
TA is unloaded. If there is any error generated during the
authentication sequence, then the hdcp authentication is aborted and
the source will restart the authentication procedure. When
authentication is aborted, the qseecom handle is lost and memory it
referenced becomes protected. When a subsequent command execution in
the sde_hdcp_2x_main thread tries to dereference that particular
memory from the qseecom handle, there is a page fault crash observed.

This change will skip accessing the memory referenced by the qseecom
handle when hdcp authentication session is tearing down.

Change-Id: I71ed44042897f17cc8817a1b1c54a43e42cf5f73
Signed-off-by: default avatarSankeerth Billakanti <sbillaka@codeaurora.org>
parent 898d5406
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