[Chameleon-dev] [Bug 1199] New: [Chameleon] Infinit loop in TemplateParser with #] tag

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Fri Nov 11 16:23:14 EST 2005


           Summary: [Chameleon] Infinit loop in TemplateParser with #] tag
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: jlacroix at dmsolutions.ca

Bart van den Eijnden wrote:
> Hi list,
> I have just been puzzled for 30 minutes why my computer memory would go 
> into swapping and why my pc would become unresponsive.
> I had a Chameleon template with the following error in it:
> #tools_gazetteer_mapserver.html#]
> so a missing [.
> Php.exe would go and take 100% CPU and several hundreds Mb of RAM.
> Best regards,
> Bart

The loop that replace [#...#] tags does not search the closing tag ( #] ) after
the opening one. This can obviously result in an infinite loop.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the Chameleon-dev mailing list