php-src/ext/phar
Niels Dossche ec4939b170
Fix incorrect check in phar tar parsing
The entry.flags was used to check whether the entry has the directory
flag. The flags however were masked to only contain the permissions. We
need to check the mode, before the permission masking, instead of the
flags to check whether it is a directory.

Closes GH-10464

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-01-29 17:14:12 +00:00
..
phar implement openssl_256 and openssl_512 for phar singatures 2021-08-11 14:13:57 +02:00
tests Merge branch 'PHP-8.0' into PHP-8.1 2022-09-27 18:45:54 +02:00
build_precommand.php Apply tidy formatting 2020-02-03 13:41:31 +01:00
config.m4
config.w32
CREDITS
dirstream.c Remove all *_EXTERN_C() in C source files (#7054) 2021-05-27 15:52:54 +08:00
dirstream.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
func_interceptors.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
func_interceptors.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
gdbhelp
Makefile.frag Respect --program-prefix/suffix when installing phar 2020-06-05 10:10:40 +02:00
Makefile.frag.w32
makestub.php Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phar.1.in implement openssl_256 and openssl_512 for phar singatures 2021-08-11 14:13:57 +02:00
phar.c Merge branch 'PHP-8.0' into PHP-8.1 2022-09-27 18:24:07 +02:00
phar.phar.1.in
phar_internal.h implement openssl_256 and openssl_512 for phar singatures 2021-08-11 14:13:57 +02:00
phar_object.c Fix wrong flags check for compression method in phar_object.c 2023-01-15 15:35:35 +00:00
phar_object.stub.php Merge branch 'PHP-8.0' into PHP-8.1 2021-09-08 12:32:58 +01:00
phar_object_arginfo.h Merge branch 'PHP-8.0' into PHP-8.1 2021-09-08 12:32:58 +01:00
phar_path_check.re Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
pharzip.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_phar.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
shortarc.php
stream.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
stream.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
stub.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
tar.c Fix incorrect check in phar tar parsing 2023-01-29 17:14:12 +00:00
tar.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
util.c implement openssl_256 and openssl_512 for phar singatures 2021-08-11 14:13:57 +02:00
zip.c switch phar to use sha256 signature by default 2021-08-11 14:13:54 +02:00