Ticket #204: jabberd-2.1.23-authreg_pipe_strlen.patch
| File jabberd-2.1.23-authreg_pipe_strlen.patch, 0.6 KB (added by thias, 8 months ago) |
|---|
-
storage/authreg_pipe.c
old new 125 125 return 1; 126 126 } 127 127 128 if(ap_base64decode_len(&buf[3], -1) >= 256) {128 if(ap_base64decode_len(&buf[3], strlen(&buf[3])) >= 256) { 129 129 log_debug(ZONE, "decoded password longer than buffer"); 130 130 return 1; 131 131 } 132 132 133 ap_base64decode(password, &buf[3], -1);133 ap_base64decode(password, &buf[3], strlen(&buf[3])); 134 134 135 135 log_debug(ZONE, "got password: %s", password); 136 136
