Merge branch 'PHP-7.4'

* PHP-7.4:
  More checks for php_strip_tags_ex
This commit is contained in:
Stanislav Malyshev 2020-01-22 23:06:35 -08:00
commit a698e36aa8

View File

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