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

Albert Astals Cid <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/kcalc/-/commit/68930e
                   |                            |59488c39d1bb2f42eccf6136496
                   |                            |646d3c9

--- Comment #1 from Albert Astals Cid <[email protected]> ---
Git commit 68930e59488c39d1bb2f42eccf6136496646d3c9 by Albert Astals Cid, on
behalf of Jan Miksa.
Committed on 27/07/2026 at 00:04.
Pushed by aacid into branch 'release/26.08'.

Fix a bug causing an infinite loop when degree token is found in calculation,
which causes the app to freeze completely. In this case, degree token has type
set to KNumberType (maybe a default type for tokens) so kcalc_core tries to
insert next token after it and it fails. As a simple solution, Degree token is
completely removed from the parser because it is not used at all in the program

Closes #515379

(cherry picked from commit 20cb18b6ec20b4f6fa7659bb1a4914453b5dfa13)

M  +0    -7    kcalc_parser.cpp
M  +0    -1    kcalc_parser.h
M  +0    -1    kcalc_token.cpp
M  +0    -1    kcalc_token.h

https://invent.kde.org/utilities/kcalc/-/commit/68930e59488c39d1bb2f42eccf6136496646d3c9

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

Reply via email to