https://bugs.kde.org/show_bug.cgi?id=432182

Tiar <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/fc52cc9ca |hics/krita/commit/0817c0f56
                   |602b75d423a5b8b4f5bbea88239 |c1b947d4cc76f824f330af6b8d3
                   |3938                        |18f4

--- Comment #5 from Tiar <tamtamy.tym...@gmail.com> ---
Git commit 0817c0f56c1b947d4cc76f824f330af6b8d318f4 by Agata Cacko.
Committed on 03/06/2021 at 21:21.
Pushed by tymond into branch 'krita/4.3'.

Fix crash on saving a huge image to .kra

Before this commit, an image of size bigger than 66k
in any dimension would crash Krita because it tries to
scale the projection to 256x256 image, which means that
the scale would be less than 1/256.
KisTransformWorker uses KisFixedPoint to scale,
which means that the scale would (in KisFixedPoint maths)
equal 0, which means there is division by 0.

M  +9    -0    libs/image/kis_image.cc

https://invent.kde.org/graphics/krita/commit/0817c0f56c1b947d4cc76f824f330af6b8d318f4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to