https://bugs.kde.org/show_bug.cgi?id=384587
Boudewijn Rempt <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://commits.kde.org/kri |https://commits.kde.org/kri |ta/ae1d6fcdd4f8b269d5cbcd95 |ta/4f11b96603d7d2c43600dcf6 |c42d8dcebe90b247 |2ee4c7db506443f1 --- Comment #5 from Boudewijn Rempt <[email protected]> --- Git commit 4f11b96603d7d2c43600dcf62ee4c7db506443f1 by Boudewijn Rempt, on behalf of Dmitry Kazakov. Committed on 03/04/2018 at 11:16. Pushed by rempt into branch 'krita/4.0'. Do not try to infinitely iterate through all the pixels of the device if its extent is empty For historical reasons we use weird format for "empty extent" mark, the rectangle is set to QRect(-int32max, -int32max, 0, 0). Using such mark is a bit of dangerous, because mere operating with it causes integer overflow and, therefore, infinite loop. I'm not sure if it is safe to change this mark into standard Qt's one... (cherry picked from commit ae1d6fcdd4f8b269d5cbcd95c42d8dcebe90b247) M +4 -0 libs/image/kis_paint_device.cc https://commits.kde.org/krita/4f11b96603d7d2c43600dcf62ee4c7db506443f1 -- You are receiving this mail because: You are watching all bug changes.
