Project

General

Profile

Actions

Bug #2768

closed

mod_fastcgi segfault in lighttpd-1.4.43

Added by HenrikHolst about 8 years ago. Updated almost 8 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
Actions #1

Updated by gstrauss about 8 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.

Actions #2

Updated by gstrauss almost 8 years ago

(update: mod_scgi does not have this bug)

Actions #3

Updated by gstrauss almost 8 years ago

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

Also available in: Atom