Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wakaama-dev] Possible NULL dereference in wakaama/core/observe.c

Hello!

 

In function observe_step(), dataP is initialized with NULL. If LWM2M_URI_IS_SET_RESOURCE(&targetP->uri) returns false, dataP will be NULL in the whole function. However, dataP is dereferenced through dataP->type in some places. I am not sure if all of them are unreachable.

 

Thanks,

Tuo Li


Back to the top