Bug #94565
closedSkip SVG sanitizer test causing segmentation fault
100%
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
Updated by Oliver Hader over 3 years ago
How to test:
- apply patch
- start Docker environment
- in local console execute particular test
Build/Scripts/runTests.sh -s functional \ -p 7.2 -d sqlite -e '--debug' \ typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69894
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69894
Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69894
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69895
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69896
Updated by Oliver Hader over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0e53b48b00a5f110a9ad0c7b44bd08dde2f0ae90.
Updated by Christian Kuhn over 3 years ago
- Related to Task #94582: Skip another SVG sanitizer test causing segmentation fault added
Updated by Christian Kuhn over 3 years ago
- Related to Task #94492: Introduce t3g/svg-sanitizer added
Updated by Gerrit Code Review over 3 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.3 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69975
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch 11.3 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/69975
Updated by Oliver Hader over 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset 0c78fae113ba29a20d77f1dc9f7e1fad32ab2516.