mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Fix build warning
This causes the build to fail on PHP-8.0 and higher.
This commit is contained in:
parent
568df31698
commit
310c0561a9
@ -3560,7 +3560,7 @@ static zend_bool header_injection(zend_string *str, zend_bool adrlist)
|
||||
/* adrlists do not support folding, but swallow trailing line breaks */
|
||||
&& !((adrlist && p[1] == '\0')
|
||||
/* other headers support folding */
|
||||
|| !adrlist && (p[1] == ' ' || p[1] == '\t'))) {
|
||||
|| (!adrlist && (p[1] == ' ' || p[1] == '\t')))) {
|
||||
return 1;
|
||||
}
|
||||
p++;
|
||||
|
Loading…
Reference in New Issue
Block a user