From 6afb78d3dd130a513c2dd0bee924a3775fcf0b97 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 11 Jan 2018 17:22:09 +0000 Subject: ofz#5244 tighten depth check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia841f3419ebe14d8f73d09a6fc089973252725ff Reviewed-on: https://gerrit.libreoffice.org/47770 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- starmath/inc/parse.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/inc') diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 5d1eeef553d4..d5e014e6717b 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -53,7 +53,7 @@ class SmParser { ++m_rParseDepth; } - bool TooDeep() const { return m_rParseDepth > 2048; } + bool TooDeep() const { return m_rParseDepth > 1024; } ~DepthProtect() { --m_rParseDepth; -- cgit