silverstripe/silverstripe-framework — pull request #2568 by jakr (2013-10-20 11:14:03+00:00)
Title: FIX 5284: Prevent crash for lager images.

Implemented check in GD that estimates the memory required to load the image and rejects larger images. Created lock files that remains after a large image has previously crashed GD.