Skip to content

Commit 4cbabb6

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents 153e292 + 08addfe commit 4cbabb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/phar/phar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1861,7 +1861,7 @@ static int phar_check_str(const char *fname, const char *ext_str, size_t ext_len
18611861
pos = strstr(ext_str, ".phar");
18621862

18631863
if (!pos
1864-
|| pos != ext_str && (*(pos - 1) == '/')
1864+
|| (pos != ext_str && (*(pos - 1) == '/'))
18651865
|| (ext_len - (pos - ext_str)) < 5
18661866
|| !(pos += 5)
18671867
|| !(*pos == '\0' || *pos == '/' || *pos == '.')) {

0 commit comments

Comments
 (0)