summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-09-17 15:05:50 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-09-17 15:05:50 +0000
commit77a12330802cb40bb16e6f3d20924de3eed895df (patch)
tree180933ed06a6e64f902691582704151408b2d27a /bindings/python
parent1b303dcfcece31b3dae8ea5fd7c2d37e312f7559 (diff)
downloadlasso-77a12330802cb40bb16e6f3d20924de3eed895df.tar.gz
lasso-77a12330802cb40bb16e6f3d20924de3eed895df.tar.xz
lasso-77a12330802cb40bb16e6f3d20924de3eed895df.zip
Fix bugs found via coverity (thanks to Bhaskar Jain)
* lasso/id-wsf-2.0/data_service.c: fix uninitialized res variable in lasso_idwsf2_data_service_process_query_response_soap_fault_msg. * lasso/xml/saml-2.0/saml2_assertion.c: fix uninitialized rc variable in get_xmlNode. * lasso/saml-2.0/login.c: in lasso_saml20_login_accept_sso check for ni and ni->Format null-ness before dereferencing, remove idp_ni which is not used anymore. remote all use of federation->remote_nameIdentifier, SAML 2.0 only need one NameID, and it will be local_nameIdentifier. * lasso/xml/xml.c: in lasso_node_traversal, check null-ness of node before dereferencing it, add check for class null-ness also. * lasso/id-ff/provider.c: in lasso_provider_get_first_http_method, remove useless check for t2 null-ness -- if found is TRUE, t1 and t2 cannot be null. * lasso/xml/tools.c: in lasso_sign_node, add documentation, check for private_key_file and xmlnode null-ness. in lasso_get_public_key_from_private_key_file, add a cleanup phase, check for cert variabl null-ness befor appending, count the number of certificates added. in lasso_query_verify_signature, check that URL unescaping and base64 decoding are succesfull before using the decoded strings. * lasso/saml-2.0/name_id_management.c: in lasso_name_id_management_validate_request, fix mis-handling of federation, if federation does not match request name_id, return UNKNOWN_PRINCIPAL.
Diffstat (limited to 'bindings/python')
0 files changed, 0 insertions, 0 deletions