diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-05-13 13:48:11 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-05-13 13:48:11 +0000 |
| commit | 6a1e276c71d740992a4b5a9abb034cecbb19ef25 (patch) | |
| tree | 4fc10dcf681beea7f56112331b904918b2bf840d | |
| parent | ffab8ef9136d92993bf0ec855c1eba55aa42e66b (diff) | |
| download | lasso-6a1e276c71d740992a4b5a9abb034cecbb19ef25.tar.gz lasso-6a1e276c71d740992a4b5a9abb034cecbb19ef25.tar.xz lasso-6a1e276c71d740992a4b5a9abb034cecbb19ef25.zip | |
* validate input in lasso_profile_is_saml_query
| -rw-r--r-- | lasso/saml-2.0/profile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lasso/saml-2.0/profile.c b/lasso/saml-2.0/profile.c index 34c5cd9d..c00f829d 100644 --- a/lasso/saml-2.0/profile.c +++ b/lasso/saml-2.0/profile.c @@ -317,6 +317,7 @@ lasso_profile_is_saml_query(const gchar *query) "SAMLRequest=", "SAMLResponse=", "SAMLart=", NULL }; gint i; + g_return_val_if_fail(query, FALSE); for (i=0; parameters[i]; i++) { if (strstr(query, parameters[i])) return TRUE; |
