Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2016 09:46:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207555] [PATCH] www/lighttpd fix crashes with option MYSQLAUTH
Message-ID:  <bug-207555-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207555

            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@FreeBSD.org
          Reporter: dinoex@FreeBSD.org
          Keywords: patch

Created attachment 167505
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167505&action=
=3Dedit
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 =3D=3D 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@FreeBSD.org> ---
Maintainer informed via mail

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207555-13>