Skip to content
Snippets Groups Projects
Commit f3056b2f authored by Helmut Hummel's avatar Helmut Hummel Committed by Georg Ringer
Browse files

[BUGFIX] Mitigate thread unsafe usage of getenv

Drop usage of getenv('TYPO3_PATH_COMPOSER_ROOT') and use
Composer provided runtime API to determine the path of the
root package.

This mitigates thread unsafety at least for packages, which
is more prevalent than other getenv usages, that exist in TYPO3
already. These should be tackled in subsequent changes.

Resolves: #95171
Related: #94996
Releases: master
Change-Id: I7e45aaf72d24ac3575488b708220ba754cc131e6
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71075


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 7a6e05a2
Branches
Tags
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