lasso_node_impl_init_from_xml do not verify the element name if currently parse
We can give any xmlNode tree to this function and any GObject subclass of
LassoNode it will work. We should at least validate that:
strcmp(curNode->name, class->node_data->node_name) ||
curNode->name, LASSO_LASSO_HREF), G_OBJECT_CLASS_NAME(object))
It is a problem in lasso_login_process_authn_response, because we assume that
the response we receive is a lib_authn_response:
»·······profile->response = lasso_lib_authn_response_new(NULL, NULL);
»·······format = lasso_node_init_from_message(
»·······if (format LASSO_MESSAGE_FORMAT_UNKNOWN || format
and in a recent usage (vecozo) we received a samlp:Response instead, which is
but lasso did not signal it.
Is everybody ok ?