php-src/ext
Niels Dossche ba80372a58 Fix GH-13037: PharData incorrectly extracts zip file
The code currently assumes that the extra field length of the central
directory entry and the local entry are the same, but that's not the
case. For example, the "Extended Timestamp extra field" differs in size
for local vs central directory entries. This causes the file contents
offset to be incorrect because it is based on the central directory
length instead of the local entry length. Fix it by reading the local
entry and getting the size from there as well as checking consistency
for the file name length.

Closes GH-13045.
2024-01-25 20:05:45 +01:00
..
bcmath
bz2
calendar
com_dotnet
ctype Merge branch 'PHP-8.1' into PHP-8.2 2023-09-26 21:44:00 +02:00
curl Fix missing error check in curl_multi_init() 2024-01-16 19:35:36 +01:00
date tzdata 2023d adds an extra transition for Europe/London 2024-01-02 11:07:12 +00:00
dba
dl_test Merge branch 'PHP-8.1' into PHP-8.2 2023-11-03 17:17:23 +00:00
dom Test fixes for libxml2 2.12.0 2023-11-29 20:52:01 +01:00
enchant
exif Use __DIR__-relative path in tests 2023-11-22 20:39:29 -06:00
ffi Fix GH-12905: FFI::new interacts badly with observers 2023-12-19 15:59:01 +01:00
fileinfo Merge branch 'PHP-8.1' into PHP-8.2 2023-09-30 16:26:24 +02:00
filter Merge branch 'PHP-8.1' into PHP-8.2 2023-09-14 11:49:10 +02:00
ftp Fix compilation of ftp without openssl 2023-12-05 11:55:44 +01:00
gd ext/gd disable gh13082 test for travis. 2024-01-21 00:01:43 +00:00
gettext
gmp
hash Fix 32-bit ext/hash build 2023-12-13 19:33:09 +01:00
iconv Merge branch 'PHP-8.1' into PHP-8.2 2023-08-19 23:09:41 +01:00
imap Merge branch 'PHP-8.1' into PHP-8.2 2023-07-10 13:34:21 +02:00
intl ext/intl: fix bug introduced by 5455c3f 2024-01-03 17:33:27 +00:00
json Merge branch 'PHP-8.1' into PHP-8.2 2023-05-13 18:53:35 +01:00
ldap
libxml Backport deprecation warning ignores to unbreak CI 2023-12-06 22:17:27 +01:00
mbstring Return value of mb_get_info can be NULL 2023-11-27 20:53:37 +02:00
mysqli Fix GH-12107: When running a stored procedure (that returns a result set) twice, PHP crashes 2024-01-19 23:34:12 +01:00
mysqlnd Fix GH-12107: When running a stored procedure (that returns a result set) twice, PHP crashes 2024-01-19 23:34:12 +01:00
oci8 Update year to 2024 2024-01-04 19:26:32 +01:00
odbc Fix GH-12974: Apache crashes on shutdown when using pg_pconnect() 2023-12-27 20:14:23 +01:00
opcache Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on 2024-01-24 17:47:40 +01:00
openssl ext/openssl: fix libressl build. 2024-01-14 18:23:18 +00:00
pcntl Merge branch 'PHP-8.1' into PHP-8.2 2023-09-22 10:26:01 +02:00
pcre Merge branch 'PHP-8.1' into PHP-8.2 2023-11-10 00:08:09 +01:00
pdo Fix GH-12969: Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES 2023-12-22 15:06:01 +01:00
pdo_dblib
pdo_firebird Fix GH-13119 (#13125) 2024-01-17 01:12:24 +09:00
pdo_mysql Fix GH-12969: Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES 2023-12-22 15:06:01 +01:00
pdo_oci Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
pdo_odbc add PDO::ATTR_AUTOCOMMIT to getAttribute 2023-12-18 00:26:32 +00:00
pdo_pgsql Fix GH-12969: Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES 2023-12-22 15:06:01 +01:00
pdo_sqlite Merge branch 'PHP-8.1' into PHP-8.2 2023-06-22 20:51:11 +02:00
pgsql Fix GH-12974: Apache crashes on shutdown when using pg_pconnect() 2023-12-27 20:14:23 +01:00
phar Fix GH-13037: PharData incorrectly extracts zip file 2024-01-25 20:05:45 +01:00
posix
pspell
random random/standard: Correctly handle broken engines in php_array_pick_keys (#13138) 2024-01-14 13:01:29 +01:00
readline Merge branch 'PHP-8.1' into PHP-8.2 2023-05-26 11:39:47 +02:00
reflection Merge branch 'PHP-8.1' into PHP-8.2 2023-10-11 17:23:17 +02:00
session Fix GH-12504: Corrupted session written when there's a fatal error in autoloader 2024-01-22 21:59:11 +01:00
shmop
simplexml Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash 2023-12-17 11:47:11 +01:00
skeleton
snmp
soap Fix libxml2 2.12 build due to API breaks 2023-12-01 18:03:37 +01:00
sockets Merge branch 'PHP-8.1' into PHP-8.2 2023-09-29 18:33:59 +08:00
sodium
spl Add missing NULL checks for spl autoload table 2023-12-01 09:09:17 +01:00
sqlite3 Merge branch 'PHP-8.1' into PHP-8.2 2023-11-10 00:08:09 +01:00
standard Fix GH-13071: Copying large files using mmap-able source streams may exhaust available memory and fail 2024-01-16 23:44:58 +01:00
sysvmsg
sysvsem
sysvshm Merge branch 'PHP-8.1' into PHP-8.2 2023-03-01 23:05:17 +01:00
tidy Fix GH-12980: tidynode.props.attribute is missing "Boolean Attributes" and empty attributes 2023-12-22 17:37:34 +01:00
tokenizer
xml Test fixes for libxml2 2.12.0 2023-11-29 20:52:01 +01:00
xmlreader Merge branch 'PHP-8.1' into PHP-8.2 2023-10-24 19:36:57 +02:00
xmlwriter Merge branch 'PHP-8.1' into PHP-8.2 2023-10-24 19:36:57 +02:00
xsl Backport deprecation warning ignores to unbreak CI 2023-12-06 22:17:27 +01:00
zend_test Silence deprecations in zend-test 2023-12-06 23:49:08 +01:00
zip Merge branch 'PHP-8.1' into PHP-8.2 2023-11-14 14:56:29 +01:00
zlib Temporarily disable failing zlib tests on travis (#10738) 2023-11-22 20:39:30 -06:00
ext_skel.php