Bug #23769
closedServer crashes calling t3lib_div::validEmail() with a string which has more characters than 2264
0%
Description
Hi, all
I'm using the extension formhandler to create some complex forms.
The logs of this extensions are saved in a field which can contain about 65000 characters.
By calling the list-view in the backend each value of a cell from the database-tables is passed to the function "t3lib_div::validEmail()".
This function is using the php-function "filter_var()" to check it it's a valid email.
Please note that this function contains a bug which will be fixed / is fixed in PHP v5.3.4 which is not released now.
Please check the length of the string before you call this php-function by using this information:
http://email.about.com/od/emailbehindthescenes/f/address_length.htm
http://bugs.php.net/bug.php?id=53091
(issue imported from #M16035)
Updated by Georg Ringer about 14 years ago
see http://typo3.org/teams/security/security-bulletins/typo3-sa-2010-020/ => Vulnerable subcomponent #3: Validation/ Filtering API