Issue Bug Closed

#94565Skip SVG sanitizer test causing segmentation fault

Oliver Hader 07/15/21, 19:40 updated 09/07/21, 07:34

Description

Test dataset entity.svg is causing segmentation fault in certain scenarios – which might be related to libxml2 before version 2.9.12. Investigations did not reveal further details other than libxml2.

The behavior is triggered with dataset DirtySVG/entity.svg at https://github.com/darylldoyle/svg-sanitizer/blob/beff89576a72540ee99476aeb9cfe98222e76fb8/src/ElementReference/Resolver.php#L87

// in Resolver.php of SVG sanitizer package
$elements = $this->xPath->query('//*[@id]');

→ more details: https://github.com/darylldoyle/svg-sanitizer/issues/52

Reviews 8