Bug #1775

lighttpd 1.4.x mod_rewrite memory leak

Added by qhy 108 days ago. Updated 108 days ago.

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

0%

Category:mod_rewrite
Target version:1.4.20
Pending:

No

Resolution:

fixed


Description

if url.rewrite-repeat is presented, mod_rewrite will allocates handler_ctx memory without checking con->plugin_ctxp->id. this causes memory leak

lighttpd-1.4.19-mod_rewrite.patch - patch to resolve mod_rewrite memory leak (453 Bytes) qhy, 09/21/2008 12:26 AM

History

09/21/2008 03:42 PM - stbuehler

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

Outch. Breaks "endless" loop detection too.

Testcase:


url.repeate = ( ".*" => "$0" )

Applied in r2306.

Also available in: Atom PDF