Project

General

Profile

Bug #2768

mod_fastcgi segfault in lighttpd-1.4.43

Added by HenrikHolst almost 4 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_fastcgi
Target version:
ASK QUESTIONS IN Forums:

Description

The new fcgi_extension_host_get() function in 1.4.43 forgets to return NULL when all hosts are busy so it does a extension->hosts[-1] dereference which leads to a segfault whenever the server gets really busy.

Patch to fix this is attached.


Files

mod_fastcgi.c.diff (269 Bytes) mod_fastcgi.c.diff patch HenrikHolst, 2016-11-10 10:06
#1

Updated by gstrauss almost 4 years ago

  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.44

thx HenrikHolst. There is a similar error in mod_scgi.c that needs to be fixed as well.

#2

Updated by gstrauss over 3 years ago

(update: mod_scgi does not have this bug)

#3

Updated by gstrauss over 3 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom