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

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |3f3bea079bb55ec70ce248d1238
                   |                            |cd0e7e38e5261
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |5.27.5

--- Comment #5 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 3f3bea079bb55ec70ce248d1238cd0e7e38e5261 by Fushan Wen.
Committed on 08/04/2023 at 07:17.
Pushed by fusionfuture into branch 'Plasma/5.27'.

runners/calculator: set timeout to prevent allocating huge memory

This is not exactly a memory leak. The extreme expression simply
requires huge amounts of memory to calculate.

The calculator runner is problematic since it does not specify
a time limit for calculations, and does not even abort
calculations after the window has been closed
(a simple example of this is the expression 123456789!).

Fixes https://github.com/Qalculate/libqalculate/issues/527
FIXED-IN: 5.27.5

M  +7    -2    runners/calculator/qalculate_engine.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/3f3bea079bb55ec70ce248d1238cd0e7e38e5261

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

Reply via email to