Project

General

Profile

Actions

Bug #2764

closed

mod_scgi regression; NULL ptr deference in 1.4.43

Added by gstrauss about 8 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Category:
mod_scgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

mod_scgi regression; NULL ptr deference in 1.4.43

--- 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;


Related issues 1 (0 open1 closed)

Is duplicate of Bug #2762: lighttpd version 1.4.43 crashes with active scgi mappingFixed2016-11-01Actions
Actions #1

Updated by stbuehler about 8 years ago

  • Is duplicate of Bug #2762: lighttpd version 1.4.43 crashes with active scgi mapping added
Actions #2

Updated by stbuehler about 8 years ago

  • Status changed from Patch Pending to Duplicate
  • Target version deleted (1.4.44)
Actions

Also available in: Atom