Commit d7a1012c authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Backports: r892808

Submitted by: rpluem
Fix up r892678



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x-merge-http-strict@1775692 13f79535-47bb-0310-9956-ffa450edef68
parent 5cab1c66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }