Commit 0e53b48b authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[TASK] Skip SVG sanitizer test causing segmentation fault

SVG sanitizer test dataset entity.svg is causing segmentation fault
in certain scenarios - which might be related to libxml2 before
version 2.9.12. Unfortunately, investigations did not reveal any
further details other than libxml2.

As a result `entity.svg` test dataset, which is causing this problem is
skipped until https://github.com/darylldoyle/svg-sanitizer/pull/53 is
merged and released in the upstream library.

Resolves: #94565
Releases: master, 10.4, 9.5
Change-Id: I8375954dad64e3955f88122fa51dca7f796d077b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69894


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
parent bb9b14e8
......@@ -50,6 +50,10 @@ class SvgSanitizerTest extends FunctionalTestCase
*/
public function svgContentIsSanitized($filePath, $sanitizedFilePath)
{
// @todo re-enable test once https://github.com/darylldoyle/svg-sanitizer/pull/53 is merged
if ($filePath === 'DirtySVG/entity.svg') {
self::markTestSkipped('Skipped due experienced segmentation faults');
}
$basePath = dirname(__FILE__, 2) . '/Fixtures/';
$sanitizer = new SvgSanitizer();
self::assertStringEqualsFile(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment