--TEST-- Bug #76041 (null pointer access crashed php) --EXTENSIONS-- gd --FILE-- ===DONE=== --EXPECT-- ===DONE===