소스 검색

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

- reported by Muhammad Shahzad
Daniel-Constantin Mierla 11 년 전
부모
커밋
dd00819f7c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);