summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-07 21:17:05 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-08 11:50:58 +0200
commit4582cea56eedfe3529fe360c68fc4b95b7d47ac5 (patch)
tree8865a1b533cb2955added865035cd8b4f85f76c7 /svgio
parent196c689b9403b0f5874395fb53aedb83794893f7 (diff)
crashtesting: null-deref on kde114933-2.svg
Change-Id: If344bd676eb0eefd2d1bb4728bd0ca1e602c076e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155432 Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgdocumenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx
index 33746ad4ac2d..b47df2ec4d2c 100644
--- a/svgio/source/svgreader/svgdocumenthandler.cxx
+++ b/svgio/source/svgreader/svgdocumenthandler.cxx
@@ -559,7 +559,7 @@ namespace
mpTarget = const_cast< SvgNode* >(mpTarget->getParent());
- if(pSvgTitleDescNode)
+ if (pSvgTitleDescNode && mpTarget)
{
const OUString& aText(pSvgTitleDescNode->getText());