Loading server/protocol.c +1 −1 Original line number Diff line number Diff line Loading @@ -436,7 +436,7 @@ AP_DECLARE(apr_status_t) ap_rgetline_core(char **s, apr_size_t n, *read = bytes_handled; /* PR#43039: We shouldn't accept NULL bytes within the line */ if (strlen(*s) < bytes_handled - 1) { if (strlen(*s) < bytes_handled) { return APR_EINVAL; } Loading Loading
server/protocol.c +1 −1 Original line number Diff line number Diff line Loading @@ -436,7 +436,7 @@ AP_DECLARE(apr_status_t) ap_rgetline_core(char **s, apr_size_t n, *read = bytes_handled; /* PR#43039: We shouldn't accept NULL bytes within the line */ if (strlen(*s) < bytes_handled - 1) { if (strlen(*s) < bytes_handled) { return APR_EINVAL; } Loading