[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[wakaama-dev] Wakaama Issues: endless-loop, IPv6 parsing
|
Hi,
since I only see Pull Requests being possible on github and no Issue tracking, let me report issues with wakaama here on the mailing list. If another location is more appropriate for issue reporting let me know.
Issue 1:
Endless loop in get_server_uri() in tests/client/object_security.c due to missing to move targetP to targetP->next. Works only if there is only one server object and that has the expected shortID.
char * get_server_uri(lwm2m_object_t * objectP,
uint16_t serverID)
{
security_instance_t * targetP;
targetP = (security_instance_t *)objectP->instanceList;
while (targetP != NULL)
{
if (targetP->shortID == serverID)
{
return strdup(targetP->uri);
}
+ targetP = targetP->next;
}
return NULL;
}
Issue 2:
prv_connect_server() in lwm2mcleitn.c fails to parse IPv6 addresses since it looks for : as a separator for the port.
Regards,
Markus
________________________________________________________ The contents of this e-mail and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this e-mail is received in error, please immediately notify the sender and delete the e-mail and attached documents. Please note that neither the sender nor the sender's company accept any responsibility for viruses and it is your responsibility to scan or otherwise check this e-mail and any attachments.