Project

General

Profile

Actions

Bug #94565

closed

Skip SVG sanitizer test causing segmentation fault

Added by Oliver Hader over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2021-07-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #94582: Skip another SVG sanitizer test causing segmentation faultClosed2021-07-19

Actions
Related to TYPO3 Core - Task #94492: Introduce t3g/svg-sanitizerClosedOliver Hader2021-07-06

Actions
Actions #1

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
Actions #2

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

Actions #3

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

Actions #4

Updated by Oliver Hader over 3 years ago

  • Description updated (diff)
Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

Updated by Oliver Hader over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Christian Kuhn over 3 years ago

  • Related to Task #94582: Skip another SVG sanitizer test causing segmentation fault added
Actions #10

Updated by Christian Kuhn over 3 years ago

  • Related to Task #94492: Introduce t3g/svg-sanitizer added
Actions #11

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

Actions #12

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

Actions #13

Updated by Oliver Hader over 3 years ago

  • Status changed from Under Review to Resolved
Actions #14

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF