Project

General

Profile

Bug #1775

lighttpd 1.4.x mod_rewrite memory leak

Added by qhy almost 12 years ago. Updated almost 12 years ago.

Status:
Fixed
Priority:
High
Category:
mod_rewrite
Target version:
ASK QUESTIONS IN Forums:

Description

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


Files

lighttpd-1.4.19-mod_rewrite.patch (453 Bytes) lighttpd-1.4.19-mod_rewrite.patch patch to resolve mod_rewrite memory leak qhy, 2008-09-21 00:26
#1

Updated by stbuehler almost 12 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