Bugfix auth_pam module

ngx_module_t commands array should end with a ngx_null_command.

Closes #721702
This commit is contained in:
Christos Trochalakis 2013-09-16 20:08:05 +03:00
parent f31ef22423
commit bdf157e885
2 changed files with 4 additions and 0 deletions

2
debian/changelog vendored
View file

@ -16,6 +16,8 @@ nginx (1.4.2-1) UNRELEASED; urgency=low
* debian/nginx-common.nginx.init:
+ Better pidfile extraction from nginx.conf. We now accept multiple
spaces and tabs as a field seperator.
* debian/modules/nginx-auth-pam:
+ Fixed upstream bug. (Closes: #721702)
-- Christos Trochalakis <yatiohi@ideopolis.gr> Sat, 14 Sep 2013 10:39:24 +0300

View file

@ -72,6 +72,8 @@ static ngx_command_t ngx_http_auth_pam_commands[] = {
NGX_HTTP_LOC_CONF_OFFSET,
offsetof(ngx_http_auth_pam_loc_conf_t, service_name),
NULL },
ngx_null_command
};