Commit 846827de authored by Simon Que's avatar Simon Que Committed by Hari Kanigeri

SYSLINK:ipc-listmp sharedmemory delete procid check

listmp_sharedmemory_delete was not checking the owner proc ID correctly.
Signed-off-by: default avatarSimon Que <sque@ti.com>
parent d11e01b4
......@@ -508,7 +508,7 @@ int listmp_sharedmemory_delete(listmp_sharedmemory_handle *listmp_handleptr)
obj = (struct listmp_sharedmemory_obj *) handle->obj;
params = (listmp_sharedmemory_params *) &obj->params;
if (obj->owner->proc_id == multiproc_get_id(NULL)) {
if (obj->owner->proc_id != multiproc_get_id(NULL)) {
status = -EPERM;
goto exit;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment