summaryrefslogtreecommitdiffstats
path: root/auth_mellon_config.c
diff options
context:
space:
mode:
authorolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2013-10-28 06:42:44 +0000
committerolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2013-10-28 06:42:44 +0000
commit5b3fbe8147d790e69a835c3351a8069f669f9186 (patch)
treeb15664592bc28f7176681ef2727ce8827023dfc7 /auth_mellon_config.c
parent6608bb2e1ee076627916ffe7f1457d7d096e9383 (diff)
downloadmod_auth_mellon-5b3fbe8147d790e69a835c3351a8069f669f9186.tar.gz
mod_auth_mellon-5b3fbe8147d790e69a835c3351a8069f669f9186.tar.xz
mod_auth_mellon-5b3fbe8147d790e69a835c3351a8069f669f9186.zip
Fix MellonDoNotVerifyLogoutSignature.
The configuration directive declaration was missing the parameter describing where the data from the option was stored. The result is that we access invalid memory during configuration parsing, leading to a segmentation fault. As far as I can tell, this error has always been present, so this option hasn't worked before. git-svn-id: https://modmellon.googlecode.com/svn/trunk@220 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon_config.c')
-rw-r--r--auth_mellon_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth_mellon_config.c b/auth_mellon_config.c
index 8d6345e..855330a 100644
--- a/auth_mellon_config.c
+++ b/auth_mellon_config.c
@@ -1190,7 +1190,7 @@ const command_rec auth_mellon_commands[] = {
AP_INIT_TAKE1(
"MellonDoNotVerifyLogoutSignature",
am_set_do_not_verify_logout_signature,
- NULL,
+ (void *)APR_OFFSETOF(am_dir_cfg_rec, do_not_verify_logout_signature),
OR_AUTHCFG,
"A list of entity of IdP whose logout requests signatures will not "
"be valided"