Bug #964

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

Added by Anonymous 700 days ago. Updated 517 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:-
Pending:

Resolution:

fixed


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

lighty-mod_scgi.c-fix-segfault.diff - Fix segfault -- beu (476 Bytes) Anonymous, 01/04/2007 11:30 PM

History

01/05/2007 02:58 AM - jakabosky

fix committed to svn 1.4.x branch revision 1501.

01/05/2007 06:09 AM - moo

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

fixed in r1501 by jakabosky

Also available in: Atom PDF