diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-11 17:22:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-11 21:38:54 +0100 |
commit | 6afb78d3dd130a513c2dd0bee924a3775fcf0b97 (patch) | |
tree | 384435c373f2f17c211e02388352d73013d23f1e /starmath/inc | |
parent | limit WEBSERVICE to http[s] protocols (diff) | |
download | core-6afb78d3dd130a513c2dd0bee924a3775fcf0b97.tar.gz core-6afb78d3dd130a513c2dd0bee924a3775fcf0b97.zip |
ofz#5244 tighten depth check
Change-Id: Ia841f3419ebe14d8f73d09a6fc089973252725ff
Reviewed-on: https://gerrit.libreoffice.org/47770
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/parse.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |