silverstripe/silverstripe-framework — pull request #2569 by jakr (2013-10-20 11:41:04+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.