mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fix parenthesis warning
This commit is contained in:
parent
870d893d0b
commit
f1f39d7ed7
@ -1843,7 +1843,7 @@ static int phar_check_str(const char *fname, const char *ext_str, int ext_len, i
|
||||
pos = strstr(ext_str, ".phar");
|
||||
|
||||
if (!pos
|
||||
|| pos != ext_str && (*(pos - 1) == '/')
|
||||
|| (pos != ext_str && (*(pos - 1) == '/'))
|
||||
|| (ext_len - (pos - ext_str)) < 5
|
||||
|| !(pos += 5)
|
||||
|| !(*pos == '\0' || *pos == '/' || *pos == '.')) {
|
||||
|
Loading…
Reference in New Issue
Block a user