From 359bebd8c08a626e64ade1ac45c3c925352bd8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Wed, 1 Apr 2020 19:29:35 +0200 Subject: Fix out of bound array access caused by unassigned variable --- core/math/expression.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/math/expression.cpp') diff --git a/core/math/expression.cpp b/core/math/expression.cpp index 04fda9d09a..4ae9e09a46 100644 --- a/core/math/expression.cpp +++ b/core/math/expression.cpp @@ -2215,6 +2215,8 @@ Expression::Expression() : root(NULL), nodes(NULL), execution_error(false) { + str_ofs = 0; + expression_dirty = false; } Expression::~Expression() { -- cgit v1.2.3