Project

General

Profile

Bug #2764

mod_scgi regression; NULL ptr deference in 1.4.43

Added by gstrauss 6 months ago. Updated 6 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
mod_scgi
Target version:
-
Start date:
2016-11-04
Due date:
% Done:

0%

Missing in 1.5.x:

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

Duplicates Bug #2762: lighttpd version 1.4.43 crashes with active scgi mapping Fixed 2016-11-01

History

#1 Updated by stbuehler 6 months ago

  • Duplicates Bug #2762: lighttpd version 1.4.43 crashes with active scgi mapping added

#2 Updated by stbuehler 6 months ago

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

Also available in: Atom