You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In lines 1896 and 1901 of the function registration_handleRequest, when the function prv_getLocationString and coap_set_header_location_path fail to check, the function registration_freeClient will be called to release the clientP node, but at this time the clientP node is not removed from contextP->clientList, resulting in subsequent access to invalid pointers.
if (prv_getLocationString(clientP->internalID, location) == 0)
{
registration_freeClient(clientP);
return COAP_500_INTERNAL_SERVER_ERROR;
}
if (coap_set_header_location_path(response, location) == 0)
{
registration_freeClient(clientP);
return COAP_500_INTERNAL_SERVER_ERROR;
}
The text was updated successfully, but these errors were encountered:
In lines 1896 and 1901 of the function registration_handleRequest, when the function prv_getLocationString and coap_set_header_location_path fail to check, the function registration_freeClient will be called to release the clientP node, but at this time the clientP node is not removed from contextP->clientList, resulting in subsequent access to invalid pointers.
The text was updated successfully, but these errors were encountered: