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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/2a391d814b0a46 |krita/commit/94a83a77a47237
                   |624bd8ddd6b29ae1498397187c  |71b9b8030a60fbd38ef209b7c8

--- Comment #2 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 94a83a77a4723771b9b8030a60fbd38ef209b7c8 by Agata Cacko.
Committed on 20/04/2020 at 01:14.
Pushed by tymond into branch 'master'.

Fix assert on Node::parentNode() for root

Before this commit, because of both parentNode() not checking
for parent() existing and createNode() not checking for the node
existing (which in this case was originalNode->parent()),
trying to access parentNode() of root node would result in an assert
or crash.
This commit fixes that behaviour in both places.


(cherry picked from commit 2a391d814b0a46624bd8ddd6b29ae1498397187c)

M  +4    -0    libs/libkis/Node.cpp

https://invent.kde.org/kde/krita/commit/94a83a77a4723771b9b8030a60fbd38ef209b7c8

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

Reply via email to