[mod_scgi] fix segfault (fixes #2762)
This commit is contained in:
parent
33e3504bcb
commit
5e3653dc5d
1
NEWS
1
NEWS
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue