FreeBSD Bugzilla – Attachment 167505 Details for
Bug 207555
[PATCH] www/lighttpd fix crashes with option MYSQLAUTH
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to extend extra-patch-mysqlauth
extra-patch-mysqlauth.diff (text/plain), 868 bytes, created by
Dirk Meyer
on 2016-02-28 09:46:43 UTC
(
hide
)
Description:
Patch to extend extra-patch-mysqlauth
Filename:
MIME Type:
Creator:
Dirk Meyer
Created:
2016-02-28 09:46:43 UTC
Size:
868 bytes
patch
obsolete
>--- files/extra-patch-mysqlauth 2014-01-22 18:40:44.000000000 +0100 >+++ ../lighttpd-mysqlauth/files/extra-patch-mysqlauth 2016-02-28 09:20:51.967675000 +0100 >@@ -424,13 +424,16 @@ > } else { > log_error_write(srv, __FILE__, __LINE__, "sb", "auth.backend not supported:", s->auth_backend_conf); > >-@@ -534,6 +637,28 @@ >+@@ -534,6 +637,31 @@ > return (ret); > break; > } > + case AUTH_BACKEND_MYSQL: { > + int port = atoi(s->auth_mysql_port->ptr); > + >++ /* ignore if auth_mysql_socket is invalid */ >++ if (p->conf.auth_mysql_socket == NULL) >++ return HANDLER_GO_ON; > + if (p->conf.auth_mysql_socket->ptr != NULL) > + if (0 == strcmp(s->auth_mysql_socket->ptr, "")) s->auth_mysql_socket->ptr = NULL; > +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207555
: 167505