Module: sip-router
Branch: 4.1
Commit: be8fb6fa8a1492259a26abe4825653f1f66ff0d8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=be8fb6f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jun 12 11:39:55 2014 +0200
auth: proper fixup for optional method parameter in pv_www_authenticate()
- reported by Muhammad Shahzad
(cherry picked from commit dd00819f7cca976e699a20960956abff760df957)
---
modules/auth/auth_mod.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/auth/auth_mod.c b/modules/auth/auth_mod.c
index a148053..e0ed083 100644
--- a/modules/auth/auth_mod.c
+++ b/modules/auth/auth_mod.c
@@ -830,6 +830,7 @@ static int fixup_pv_auth(void **param, int param_no)
switch(param_no) {
case 1:
case 2:
+ case 4:
return fixup_var_pve_str_12(param, 1);
case 3:
return fixup_var_int_12(param, 1);