Skip to content

馃崚runners/calculator: set timeout to prevent allocating huge memory

Fushan Wen requested to merge work/cherry-pick-3f3bea07 into master

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

BUG: 468084 FIXED-IN: 5.27.5

(cherry picked from commit 3f3bea07)

Merge request reports

Loading