destroy oversized attributes
This commit is contained in:
@@ -516,6 +516,7 @@ METHOD(imc_agent_t, send_message, TNC_Result,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
DBG1(DBG_IMC, "PA-TNC attribute too large to send, deleted");
|
DBG1(DBG_IMC, "PA-TNC attribute too large to send, deleted");
|
||||||
|
attr->destroy(attr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
attr_list->remove_at(attr_list, enumerator);
|
attr_list->remove_at(attr_list, enumerator);
|
||||||
|
|||||||
@@ -537,6 +537,7 @@ METHOD(imv_agent_t, send_message, TNC_Result,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
DBG1(DBG_IMV, "PA-TNC attribute too large to send, deleted");
|
DBG1(DBG_IMV, "PA-TNC attribute too large to send, deleted");
|
||||||
|
attr->destroy(attr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
attr_list->remove_at(attr_list, enumerator);
|
attr_list->remove_at(attr_list, enumerator);
|
||||||
|
|||||||
Reference in New Issue
Block a user