svgio/source/svgreader/svgclippathnode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 553253c529eae792cb47735fdce8ef3ef16cbda0 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon Jul 3 17:25:36 2023 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Jul 4 11:06:11 2023 +0200 crashtesting: crash on import of moz610347-2.svg Change-Id: I0793d00216586bf68b4b74305bba2f352eb320bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153912 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/svgio/source/svgreader/svgclippathnode.cxx b/svgio/source/svgreader/svgclippathnode.cxx index 764c874dbe5f..387f7af553e1 100644 --- a/svgio/source/svgreader/svgclippathnode.cxx +++ b/svgio/source/svgreader/svgclippathnode.cxx @@ -151,7 +151,7 @@ namespace svgio::svgreader // merge to single clipPolyPolygon aClipPolyPolygon = basegfx::utils::mergeToSinglePolyPolygon(rResult); } - else + else if (nSize != 0) { aClipPolyPolygon = rResult[0]; }