Explorar el Código

auth: proper fixup for optional method parameter in pv_www_authenticate()

- reported by Muhammad Shahzad

(cherry picked from commit dd00819f7cca976e699a20960956abff760df957)
(cherry picked from commit be8fb6fa8a1492259a26abe4825653f1f66ff0d8)
Daniel-Constantin Mierla hace 11 años
padre
commit
0332f18221
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      modules/auth/auth_mod.c

+ 1 - 0
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);