Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  More checks for php_strip_tags_ex
This commit is contained in:
Stanislav Malyshev 2020-01-22 23:06:28 -08:00
commit 984d508825

View File

@ -5371,7 +5371,7 @@ state_2:
break;
}
if (!br && lc != '\"' && *(p-1) == '?') {
if (!br && p >= buf + 1 && lc != '\"' && *(p-1) == '?') {
in_q = state = 0;
tp = tbuf;
p++;