Project

General

Profile

Actions

Bug #964

closed

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

Added by Anonymous almost 18 years ago. Updated over 17 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
Actions #1

Updated by jakabosky almost 18 years ago

fix committed to svn 1.4.x branch revision 1501.

Actions #2

Updated by moo almost 18 years ago

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

fixed in r1501 by jakabosky

Actions

Also available in: Atom