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

--- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 3adfe39f2da824110c89ca083ae92b17acddae3f by Dmitry Kazakov.
Committed on 25/11/2021 at 11:36.
Pushed by dkazakov into branch 'master'.

Make hashing function in the tile manager more robust

In same rare cases (which are officially bugs and must be fixed), the
algorithms may request tiles from the tile data manager from
non-addressable range, which is above +/- 2 million pixels. The tile
manager cannot address anything there, so before the patch it just
crashed with an assert. This patch add a fallback solution: the such
a case, the tile manager will just return an empty detached tile to
the caller. This tile will be destroyed via a shared pointer when
the caller is done processing it.

M  +58   -9    libs/image/tiles3/kis_tile_hash_table2.h

https://invent.kde.org/graphics/krita/commit/3adfe39f2da824110c89ca083ae92b17acddae3f

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

Reply via email to