Patch 54454.diff for Strings related Bug #54454
Patch version 2011-04-03 06:38 UTC
Return to Bug #54454 |
Download this patch
Patch Revisions:
Developer: pierrick@webstart.fr
Index: ext/standard/string.c
===================================================================
--- ext/standard/string.c (revision 309237)
+++ ext/standard/string.c (working copy)
@@ -5252,10 +5252,6 @@
RETURN_FALSE;
}
- if (len > s1_len - offset) {
- len = s1_len - offset;
- }
-
cmp_len = (uint) (len ? len : MAX(s2_len, (s1_len - offset)));
if (!cs) {
|