Skip to content
Commit 62a22b5b authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[BUGFIX] Avoid calling strlen(null) in TextElement

TextElement::render() calls strlen() to determine length of form
elemet item value. It may be that item value is null instead of a
string at this place and feed null to strlen() emits a E_DEPRECATED
PHP 8.1 error. Sanitize call.

Resolves: #95930
Releases: master
Change-Id: Ib7f073d59e4bbc39fb070d86bbfe3a5b69d3bef8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72107


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent a3c67422
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