Commit 79bf0872 authored by Jihun Ha's avatar Jihun Ha Committed by Madan Lanka

Add null checking for observe request in easy setup

Checking if entityHandlerRequest is NULL is added.

Change-Id: I79bf75c9f53f28b9c0c679a5dd7371552764b5cd
Signed-off-by: default avatarJihun Ha <>
Reviewed-on: default avatarHeewon Park <>
Tested-by: default avatarjenkins-iotivity <>
Reviewed-by: default avatarMadan Lanka <>
parent 539427a8
......@@ -1223,7 +1223,7 @@ OCEntityHandlerResult OCEntityHandlerCb(OCEntityHandlerFlag flag,
ehRet = OC_EH_ERROR;
if (flag & OC_OBSERVE_FLAG)
if (entityHandlerRequest && (flag & OC_OBSERVE_FLAG))
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