diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-06-03 18:53:51 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-06-03 18:53:51 +0000 |
commit | 9cfd000ba31ad83277aa4049a7c7265e4dd0aedf (patch) | |
tree | 4e14dedd7bc3249ae76376dd70ea93e39f518a91 /ext/standard/tests/strings/chunk_split.phpt | |
parent | d6eb2e1c46d3ebf89da5e0ea8bbf78a82df7480e (diff) | |
download | php-git-9cfd000ba31ad83277aa4049a7c7265e4dd0aedf.tar.gz |
MFB: Corrected fix for CVE-2007-2872
Diffstat (limited to 'ext/standard/tests/strings/chunk_split.phpt')
-rw-r--r-- | ext/standard/tests/strings/chunk_split.phpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/chunk_split.phpt b/ext/standard/tests/strings/chunk_split.phpt index cfb817def1..f25cee9457 100644 --- a/ext/standard/tests/strings/chunk_split.phpt +++ b/ext/standard/tests/strings/chunk_split.phpt @@ -12,6 +12,12 @@ $b=1; $c=str_repeat("B", 65535); var_dump(chunk_split($a,$b,$c)); +$a=str_repeat("B", 65536); +$b=1; +$c=str_repeat("B", 65536); +var_dump(chunk_split($a,$b,$c)); + + ?> --EXPECT-- a-b-c- @@ -25,3 +31,4 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX test|end bool(false) +bool(false) |