Commit 628d2df2 authored by Oleksandr Dmytrenko's avatar Oleksandr Dmytrenko

null reference check in parseInvitePayload

null reference check in parseInvitePayload

Change-Id: Ibf9377c97678c2eb5def6029e9c742a6f663de4a
Signed-off-by: default avatarOleksandr Dmytrenko <o.dmytrenko@samsung.com>
parent 8ae052ff
......@@ -51,6 +51,8 @@ static OCStackResult parseInvitePayload(const OCRepPayload *payload, const char
stringArray_t *gidlist = NULL;
stringArray_t *midlist = NULL;
VERIFY_NON_NULL_RET(out, TAG, "out is NULL", OC_STACK_INVALID_PARAM);
if (!OCRepPayloadGetPropObjectArray(payload, name, &helperPayload, dimensions))
{
OIC_LOG_V(ERROR, TAG, "Can't get: %s", name);
......
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