diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/mod_scgi.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ NEWS ==== - 1.4.44 + * [mod_scgi] fix segfault (fixes #2762) - 1.4.43 - 2016-10-31 * [autobuild] remove mod_authn_gssapi dep on resolv diff --git a/src/mod_scgi.c b/src/mod_scgi.c index cb093fbb..ffc28f73 100644 --- a/src/mod_scgi.c +++ b/src/mod_scgi.c @@ -2699,7 +2699,7 @@ static handler_t scgi_check_extension(server *srv, connection *con, void *p_d, i ct_len = buffer_string_length(ext->key); /* check _url_ in the form "/scgi_pattern" */ - if (extension->key->ptr[0] == '/') { + if (ext->key->ptr[0] == '/') { if (ct_len <= uri_path_len && 0 == strncmp(con->uri.path->ptr, ext->key->ptr, ct_len)) { extension = ext; |