Project

General

Profile

Actions

Bug #64

closed

Null pointer dereference in mod_accesslog log on SIGHUP

Added by Anonymous over 17 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
High
Category:
mod_accesslog
Target version:
-
ASK QUESTIONS IN Forums:

Description

Fixed by this:


--- src/mod_accesslog.c (revision 97)
+++ src/mod_accesslog.c (working copy)
@@ -542,6 +542,8 @@
                        }
                        s->access_logbuffer->used = 0;
                }
+
+               if (buffer_is_empty(s->access_logfile)) continue;

                if (s->use_syslog == 0 &&
                    s->access_logfile->ptr[0] != '|') {

-- dgl

Actions #1

Updated by jan over 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in changeset r98

Actions

Also available in: Atom