securemsm-kernel: Resolved NULL pointer dereference in hdcp driver
Hdcp2p2 TA handle is getting accessed after freed in hdcp_stop_command which is causing device crash while running hdcp2p2 use cases. So avoided hdcp handle access after hdcp_stop call. Change-Id: I8dc08451e51077b4f3ab086bb0c878d5df4f7f58
This commit is contained in:
@@ -1272,7 +1272,7 @@ int hdcp2_app_comm(void *ctx, enum hdcp2_app_cmd cmd,
|
||||
break;
|
||||
case HDCP2_CMD_STOP:
|
||||
rc = hdcp2_app_stop(handle);
|
||||
break;
|
||||
goto error;
|
||||
default:
|
||||
rc = -EINVAL;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user