Project

General

Profile

Bug #874

memory leak in mod_rewrite

Added by Anonymous almost 13 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Missing in 1.5.x:

Description

if there is a set of repeated uri rewrite rules, mod_rewrite will leak memory. if the rules are endless accidentally, lighttpd will eat up all memory and abort.
My simple fix is as below (compared with svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x/src/mod_rewrite.c)

{{{
bbs# svn diff src/mod_rewrite.c
Index: src/mod_rewrite.c

-- jawahh

Associated revisions

Revision 1785 (diff)
Added by jan over 12 years ago

- handle broken url.rewrite config-options as error
- fixed memleak if url.rewrite-repeat is used (fixes #874)

History

#1

Updated by jan almost 13 years ago

  • Status changed from New to Assigned
#2

Updated by jan over 12 years ago

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

fixed in r1785

Also available in: Atom