Issue Bug Closed

#17020class.tx_impexp.php wants 256m memory_limit

Christian Boltz 02/20/07, 18:51 updated 06/01/13, 14:45

Description

class.tx_impexp.php wants to set memory_limit to 256 MB.

Feb 16 09:06:48 server suhosin16047: ALERT – script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker ’87.178.135.181’, file ‘…/typo3_src-4.0.4/typo3/sysext/impexp/class.tx_impexp.php’, line 183)

I also verified this in the source code:
@ini_set(‘max_execution_time’,600);
@ini_set(‘memory_limit’,‘256m’);

This is NOT funny – just try to find any hoster that allows to set such a memory limit…

Please use a less memory-intensive implementation and, if possible, also a smaller max_execution_time.

(issue imported from #M5045)

Reviews 2