Edit report at https://bugs.php.net/bug.php?id=60626&edit=1

 ID:                 60626
 Updated by:         paj...@php.net
 Reported by:        stephanvanruth at gmail dot com
 Summary:            filter_var crash
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            *General Issues
 Operating System:   Win 7 x64
 PHP Version:        5.4.0RC4
-Assigned To:        
+Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

It sounds to me like your stack is too small, are you using it within Apache?

Can you try in CLI using php.exe t.php and then using php.exe -n t.php please?


Previous Comments:
------------------------------------------------------------------------
[2011-12-29 22:29:48] stephanvanruth at gmail dot com

Description:
------------
Crash when a string longer than 225 characters (while containing @) is passed 
to filter_var

Test script:
---------------
filter_var('the-total-len...@of-an-entire-address.cannot-be-longer-than-two-hundred-and-fifty-four-characters.and-this-address-is-254-characters-exactly.so-it-should-be-valid.and-im-going-to-add-some-more-words-here.to-increase-the-lenght-blah-blah-blah-blah-bla.org',
 FILTER_VALIDATE_EMAIL);

Expected result:
----------------
return the input given

Actual result:
--------------
crash


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60626&edit=1

Reply via email to