Last modified: 2006-11-28 03:09:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9821, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7821 - Bad <imagemap> input appears to cause PHP memory limit exhaustion.
Bad <imagemap> input appears to cause PHP memory limit exhaustion.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-06 07:29 UTC by Nick Jenkins
Modified: 2006-11-28 03:09 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nick Jenkins 2006-11-06 07:29:11 UTC
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).
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-11-28 03:09:45 UTC
Fixed by Tim Starling in r17948.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links