https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412016-07-20T13:47:36Zlighty labsLighttpd - Bug #2739: mod_accesslog crashes in v1.4.40 for specified format %Thttps://redmine.lighttpd.net/issues/2739?journal_id=103482016-07-20T13:47:36ZHenrikHolst
<ul><li><strong>File</strong> <a href="/attachments/1707">mod_accesslog.c.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1707/mod_accesslog.c.diff">mod_accesslog.c.diff</a> added</li></ul><p>Found the problem. There was a null pointer reference on f->string->ptr before checking if the string was empty. Attached patch fixes this.</p> Lighttpd - Bug #2739: mod_accesslog crashes in v1.4.40 for specified format %Thttps://redmine.lighttpd.net/issues/2739?journal_id=103492016-07-20T18:26:30Zgstrauss
<ul><li><strong>Subject</strong> changed from <i>mod_accesslog crashes in v1.4.40 for specified format</i> to <i>mod_accesslog crashes in v1.4.40 for specified format %T</i></li><li><strong>Category</strong> set to <i>mod_accesslog</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Fixed</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Target version</strong> changed from <i>1.4.x</i> to <i>1.4.41</i></li></ul><p>Sorry about that. I hadn't realized it was a segfault. Fixed a few days ago in master in <a class="changeset" title="workaround clang compiler warning" href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/9c49dc9a5c9cb67d3637ee70839704849bd90e8a">9c49dc9a</a></p>
<p>Thanks for the report and for the patch!</p> Lighttpd - Bug #2739: mod_accesslog crashes in v1.4.40 for specified format %Thttps://redmine.lighttpd.net/issues/2739?journal_id=103502016-07-20T18:29:04Zgstrauss
<ul></ul><p>FYI: a workaround is to specify %{s}T instead of %T</p>
<p>This will be fixed in lighttpd 1.4.41</p>