Author: nickpj
Description:
Bad imagemap input appears to cause PHP memory limit exhaustion.
The input wiki text is:
<imagemap>
Image:Barnstar3.png | right | picture of a [[foo]]
poly rect 0 0 50 50 [[Foo type A]]
circle 50 50 20 [[Foo type B]]
</imagemap>
What's bad about it is this line:
poly rect 0 0 50 50 [[Foo type A]]
(Specifically, the "poly " should not be there).
Leads to this in the /var/log/apache2/error.log file:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 205 bytes)
(i.e. I have increased the PHP memory limit to 128 Meg, and that limit is being
exceeded).
Version: unspecified
Severity: normal