fvogt updated this revision to Diff 50416. fvogt added a comment.
Also bail out early if image data known broken. (Unrelated to the overflow fixes, but nice to have) REPOSITORY R287 KImageFormats CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18574?vs=50414&id=50416 BRANCH sec REVISION DETAIL https://phabricator.kde.org/D18574 AFFECTED FILES src/imageformats/tga.cpp src/imageformats/xcf.cpp To: fvogt, aacid Cc: lbeltrame, kde-frameworks-devel, michaelh, ngraham, bruns