Project

General

Profile

Bug #964

Incorrect log_write_error() formatting specifier in src/mod_scgi.c leads to segfault

Added by Anonymous over 13 years ago. Updated about 13 years ago.

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

Description

There's one too 'd's in the format specifier passed to log_write_error() in src/mod_scgi.c, line 2531:

2531  log_error_write(srv, FILE_, LINE_, "sdsdsd",                                                              
2532 "response not sent, request not sent, reconnection.",
2533 "connection-fd:", con->fd,
2534 "fcgi-fd:", hctx->fd);

Patch attached.

-- beu


Files

lighty-mod_scgi.c-fix-segfault.diff (476 Bytes) lighty-mod_scgi.c-fix-segfault.diff Fix segfault -- beu Anonymous, 2007-01-04 23:30
#1

Updated by jakabosky over 13 years ago

fix committed to svn 1.4.x branch revision 1501.

#2

Updated by moo over 13 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r1501 by jakabosky

Also available in: Atom