Bugzilla – Attachment #22680: gif fix for crashing gif... from Adrian for bug #58356
-- src/kernel/qasyncimageio.cpp
oldcode=incode;
while (sp>stack) {
--sp;
if (!out_of_bounds && *sp!=trans_index)
if (!out_of_bounds && line && *sp!=trans_index)
line[y][x] = color(*sp);
x++;
if (x>=swidth) out_of_bounds = TRUE;