nextcloud-server/config
Joachim Bauch 3ad763cf18 Prevent loading images that would require too much memory.
For most image formats, the header specifies the width/height.
PHP allocates an image object from that size, even if the actual
image data is much smaller. This image object size is not limited
by the limit configured in PHP.

The memory limit can be configured through "config.php" setting
"preview_max_memory" and defaults to 128 MBytes which should be
enough for most images without filling up all memory.

Signed-off-by: Joachim Bauch <bauch@struktur.de>
2022-01-11 14:48:27 +07:00
..
.htaccess Add "Order" to assure that no parental "Allow" can grant access 2019-09-26 12:37:07 +07:00
CAN_INSTALL Block install without CAN_INSTALL file 2019-04-11 09:32:33 +07:00
config.sample.php Prevent loading images that would require too much memory. 2022-01-11 14:48:27 +07:00