Skip to content
Commit 3f3bea07 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
parent f35e1ce1
Loading
Loading
Loading
Pipeline #373306 passed with stage
in 15 minutes and 18 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment