[Bug 207555] [PATCH] www/lighttpd fix crashes with option MYSQLAUTH

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 28 09:46:43 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207555

            Bug ID: 207555
           Summary: [PATCH] www/lighttpd fix crashes with option MYSQLAUTH
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dinoex at FreeBSD.org
          Keywords: patch

Created attachment 167505
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167505&action=edit
Patch to extend extra-patch-mysqlauth

lighttpd 1.4.35_5 worked.
after upgrading lighttpd crashes after start, no messages in log.

After debuging I found it calls the Auth-Module very early now,
before the handle is initilized.

with a modified patch 1.4.39_1 is now working again.

I inserted:
         /* ignore if auth_mysql_socket is invalid */
         if (p->conf.auth_mysql_socket == NULL)
             return HANDLER_GO_ON;

This fixed the crash on start,
and http basic auth is working with the database.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer informed via mail

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list