diff options
author | Joe Orton <jorton@apache.org> | 2007-03-05 23:21:31 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2007-03-05 23:21:31 +0000 |
commit | d6ab98da93149e6538c5a8a7c4a897ed3a9f2a6d (patch) | |
tree | aeba332c2164b70a64e2cbceff972b6f3dbe369e /support/logresolve.c | |
parent | 2ef1ad885278c307d05dd67a60ef508666345ad0 (diff) | |
download | httpd-d6ab98da93149e6538c5a8a7c4a897ed3a9f2a6d.tar.gz |
* 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
Diffstat (limited to 'support/logresolve.c')
-rw-r--r-- | support/logresolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/logresolve.c b/support/logresolve.c index e11394001d..5414c7653d 100644 --- a/support/logresolve.c +++ b/support/logresolve.c @@ -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; } |