https://bugs.kde.org/show_bug.cgi?id=525418
Martin Bednar <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/kdev |https://invent.kde.org/kdev |elop/kdev-python/-/commit/9 |elop/kdev-python/-/commit/7 |20ea1dbd8125b2bd0f6425300e7 |cadd08078f655566cca72fbc7c3 |5fc46d99030f |73d82a214124 --- Comment #7 from Martin Bednar <[email protected]> --- Git commit 7cadd08078f655566cca72fbc7c373d82a214124 by Martin Bednar. Committed on 21/09/2026 at 19:28. Pushed by brauch into branch 'release/26.08'. Fix UB in popExpression() QString::constEnd() -1 is UB if the string is empty. The for cycle walks the string backward from constEnd() -1 (UB) , stopping at constEnd() which can never be reached by decrementing the iterator. Use reverse iterators instead: we get implicit check for empty string, and prevent endless looping. (cherry picked from commit 920ea1dbd8125b2bd0f6425300e75fc46d99030f) Co-authored-by: Martin Bednár <[email protected]> M +1 -1 codecompletion/helpers.cpp https://invent.kde.org/kdevelop/kdev-python/-/commit/7cadd08078f655566cca72fbc7c373d82a214124 -- You are receiving this mail because: You are watching all bug changes.
