|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-01-19 05:18 UTC] stas@php.net
-Status: Open
+Status: Feedback
[2015-01-19 05:18 UTC] stas@php.net
[2015-01-20 17:47 UTC] bugreports at internot dot info
-Status: Feedback
+Status: Closed
[2015-01-20 17:47 UTC] bugreports at internot dot info
[2015-03-20 05:49 UTC] stas@php.net
-Assigned To:
+Assigned To: stas
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 08:00:01 2025 UTC |
Description: ------------ Hi, In /ext/mbstring/oniguruma/regcomp.c: 4237 for (i = to->len, p = s; p < end && i < OPT_EXACT_MAXLEN; ) { 4238 len = enclen(enc, p); 4239 if (i + len > OPT_EXACT_MAXLEN) break; 4240 for (j = 0; j < len && p < end; j++) 4241 to->s[i++] = *p++; On L4237, 'i' may be 23 on the true branch. Then on line 4241, 'i' is bumped up to 24, which goes past the buffer for that array. Thanks,