[wp-trac] [WordPress Trac] #27004: WP_Image_Editor_GD breaks onload caused by memory_limit
WordPress Trac
noreply at wordpress.org
Tue Feb 4 08:33:42 UTC 2014
#27004: WP_Image_Editor_GD breaks onload caused by memory_limit
--------------------------+-----------------------------
Reporter: tricd | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When using the Image_Editor_GB load function, the function
imagecreatefromstring will be called - with an @-sign.
This function can easily cause an memory-limit-exception when handling big
images. The function will break asap and the next check is_resource is not
even called.
In the first place it would be great, to at least remove the @ sign, so
that someone can find out which function caused the problem. I searched
for 4 hrs now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27004>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list