Project

General

Profile

Bug #1775

lighttpd 1.4.x mod_rewrite memory leak

Added by qhy about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
Category:
mod_rewrite
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

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 View - patch to resolve mod_rewrite memory leak (453 Bytes) qhy, 2008-09-21 00:26

Associated revisions

Revision c8bce9b4 (diff)
Added by stbuehler about 8 years ago

Fix mod_rewrite memleak/endless loop detection (#1775, thx phy - again!)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2306 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler about 8 years ago

  • 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