Skip to content
Commit 207e3e33 authored by Fushan Wen's avatar Fushan Wen
Browse files

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

BUG: 468084
FIXED-IN: 5.27.5


(cherry picked from commit 3f3bea07)
parent 924e1c30
Pipeline #373316 canceled with stage
in 8 minutes and 8 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment