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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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