nextcloud/lib
Joachim Bauch d7d47169e4 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:49:15 +00:00
..
composer Normalize directory entries in Encoding wrapper 2021-11-19 14:51:40 +00:00
l10n [tx-robot] updated from transifex 2022-01-11 02:27:16 +00:00
private Prevent loading images that would require too much memory. 2022-01-11 14:49:15 +00:00
public Merge pull request #29324 from nextcloud/backport/28541/stable22 2022-01-05 11:05:53 +01:00
autoloader.php Update php licenses 2021-06-04 22:02:41 +02:00
base.php Fix basic auth for OAuth token endpoint 2021-10-30 02:25:06 +02:00
versioncheck.php Update php licenses 2021-06-04 22:02:41 +02:00