Commit 284a81e9 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 b2e8539e
......@@ -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