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

Igor Kushnir <igor...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kdev
                   |                            |elop/kdevelop/commit/08e4a1
                   |                            |7ab5fe58bb9f3ffbcca15244c75
                   |                            |d1db714
   Version Fixed In|                            |5.8.220400
         Resolution|---                         |FIXED

--- Comment #3 from Igor Kushnir <igor...@gmail.com> ---
Git commit 08e4a17ab5fe58bb9f3ffbcca15244c75d1db714 by Igor Kushnir, on behalf
of Jonathan L. Verner.
Committed on 14/12/2021 at 10:25.
Pushed by igorkushnir into branch 'master'.

Fix a crash when renaming a variable (in executeRenameAction)

When renaming a variable, the function `BasicRefactoring::executeRenameAction`
calls the `isValid` method of `IndexedDeclaration` which is documented to
require the DUChain to be read locked. However the function does no such
locking. This commit introduces a lock around the two calls.
FIXED-IN: 5.8.220400

M  +10   -5    kdevplatform/language/codegen/basicrefactoring.cpp

https://invent.kde.org/kdevelop/kdevelop/commit/08e4a17ab5fe58bb9f3ffbcca15244c75d1db714

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

Reply via email to