summaryrefslogtreecommitdiff
path: root/svgio/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-18 12:12:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-18 15:37:16 +0200
commitf35e3b36b0df830d0259d9d754c3da1946da3e6b (patch)
tree8fccb4bc57470302c4b2250ce2cb177234a554f2 /svgio/inc
parent0197a2ca1602c3ea13fecabd9de7499971830e21 (diff)
crashtesting: infinite recurse on moz330387-6.svg
Change-Id: I3c39d49504a4651b92f41c07e4cef8887366dc2b Reviewed-on: https://gerrit.libreoffice.org/57626 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svggradientnode.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svgio/inc/svggradientnode.hxx b/svgio/inc/svggradientnode.hxx
index 3710519dc392..1542796b48fc 100644
--- a/svgio/inc/svggradientnode.hxx
+++ b/svgio/inc/svggradientnode.hxx
@@ -56,6 +56,7 @@ namespace svgio
/// link to another gradient used as style. If maXLink
/// is set, the node can be fetched on demand by using
// tryToFindLink (buffered)
+ mutable bool mbResolvingLink; // protect against infinite link recursion
OUString maXLink;
const SvgGradientNode* mpXLink;