Commit c3cb8d89 authored by Joe Orton's avatar Joe Orton
Browse files

* support/logresolve.c (main): Fix potential NULL pointer dereference,

found by Coverity analysis tool.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514915 13f79535-47bb-0310-9956-ffa450edef68
parent 99864e49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ int main(int argc, const char * const argv[])
        if (status != APR_SUCCESS) {
            /* Not an IP address */
                withname++;
            *space = ' ';
            if (space) *space = ' ';
            apr_file_puts(line, outfile);
            continue;
        }