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/
                   |                            |krita/commit/2a391d814b0a46
                   |                            |624bd8ddd6b29ae1498397187c
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 2a391d814b0a46624bd8ddd6b29ae1498397187c by Agata Cacko.
Committed on 20/04/2020 at 01:07.
Pushed by tymond into branch 'krita/4.3'.

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.

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

https://invent.kde.org/kde/krita/commit/2a391d814b0a46624bd8ddd6b29ae1498397187c

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

Reply via email to