Open aoyako opened 9 months ago
Platform: Linux Fix the issue when Solar crashes with a segmentation fault on loading an invalid image file (.png, .jpg, .bmp).
.png
.jpg
.bmp
empty.png
main.lua
local background = display.newImageRect("empty.png", 600, 600)
Runtime Error is reported.
Solar crashed, leaving a log
libpng error: Read Error Segmentation fault
All committers have signed the CLA.
Platform: Linux Fix the issue when Solar crashes with a segmentation fault on loading an invalid image file (
.png
,.jpg
,.bmp
).Steps to reproduce:
.png
(empty.png
)main.lua
local background = display.newImageRect("empty.png", 600, 600)
Expected behavior:
Runtime Error is reported.
Actual behavior:
Solar crashed, leaving a log