Skip to content
Commit 31c60855 authored by Dan Carpenter's avatar Dan Carpenter Committed by Sudeep Holla
Browse files

firmware: arm_scmi: Use after free in scmi_create_protocol_device()



We need to return here instead of setting up the freed sdev device as a
transport.

Fixes: 907b6d14 ("firmware: arm_scmi: add per-protocol channels support using idr objects")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 60cc43fc
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