/*If dialog not exist, create one */
if ((NULL == dialog)&&(SIP_METHOD_CANCEL != sipMsg->methodFlag))
{
- dialog = SIP_addDialog(sipMsg, dList->head, dList);
+ // Clang analyzer is false positive, dlist->head is updated after free
+ dialog = SIP_addDialog(sipMsg, dList->head, dList); // FIXIT-A
}
methodFlag = sipMsg->methodFlag;
else
ret = false;
+#if 0
for (dialog = dList->head;
dialog;
dialog = dialog->nextD)
if (sipMsg->dlgID.callIdHash == dialog->dlgID.callIdHash)
break;
}
-
+#endif
//sip_update_appid(p, sipMsg, dialog);
return ret;