php-src/ext
Niels Dossche 43e63168e9 Fix bug #66150: SOAP WSDL cache race condition causes Segmentation Fault
When we have two processes both trying to cache a WSDL, they might start
writing the data to the same temporary file, causing file corruption due
to the race condition. Fix this by creating a temporary file first, and
then moving it to the final location. If moving fails then we know
another process finished caching first.

This also fixes #67617 as a consequence of its implementation.

Closes GH-12469.
2023-10-19 18:27:38 +02:00
..
bcmath
bz2 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-25 07:39:55 +01:00
calendar
com_dotnet Merge branch 'PHP-8.0' into PHP-8.1 2022-06-18 11:50:14 +02:00
ctype Fix GH-11997: ctype_alnum 5 times slower in PHP 8.1 or greater 2023-09-26 21:42:41 +02:00
curl Fix EXPECT for bug52820.phpt on newer curl versions 2023-08-10 15:51:53 +02:00
date Fix GH-11416: Crash with DatePeriod when uninitialised objects are passed in 2023-08-09 15:39:13 +01:00
dba Merge branch 'PHP-8.0' into PHP-8.1 2022-07-27 12:13:32 +02:00
dl_test [skip ci] Fix borked xleak skip on <PHP-8.3 2023-09-01 12:39:03 +02:00
dom Fix registerNodeClass with abstract class crashing 2023-10-13 19:06:09 +02:00
enchant
exif Fix GH-10834: exif_read_data() cannot read smaller stream wrapper chunk sizes 2023-05-12 23:37:00 +02:00
ffi Fix leaking definitions on FFI::cdef()->new() 2023-07-21 10:42:19 +02:00
fileinfo fileinfo: Backport svg detection patch 2023-09-30 16:17:03 +02:00
filter Fix filter_var with callback and explicit REQUIRE_SCALAR 2023-09-14 11:48:40 +02:00
ftp Fix GH-10562: Memory leak and invalid state with consecutive ftp_nb_fget 2023-07-07 17:55:53 +02:00
gd Fix most external GD 2.3.3 compatibility 2023-07-06 21:39:40 +02:00
gettext
gmp Merge branch 'PHP-8.0' into PHP-8.1 2022-09-13 11:33:09 +01:00
hash Fix GH-12186: segfault copying/cloning a finalized HashContext 2023-09-16 21:18:27 +02:00
iconv ext/iconv: fix build for netbsd. 2023-08-19 23:09:22 +01:00
imap Fix GH-11629: bug77020.phpt tries to send mail 2023-07-10 13:29:49 +02:00
intl Fix GH-12282: IntlDateFormatter::construct should throw an exception is the locale field has an invalid value. 2023-09-23 20:12:13 +01:00
json Expose JSON internal function to escape string 2023-05-13 18:41:33 +01:00
ldap Fix GH-10112: LDAP\Connection::__construct() refers to ldap_create() 2022-12-16 14:36:30 +01:00
libxml [ci skip] Add xml and simplexml dependency to EXTENSIONS section in test 2023-10-07 21:13:30 +02:00
mbstring Fix GH-11300: license issue: restricted unicode license headers 2023-07-01 21:55:21 +02:00
mysqli Fix failing test on nightly 2023-08-17 18:45:10 +01:00
mysqlnd Fix GH-12297: PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line 2023-09-26 21:41:45 +02:00
oci8 Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
odbc ODBC unit tests shouldn't override odbc.ini location 2023-09-06 01:56:04 +01:00
opcache Avoid JIT warning with opcache.jit_buffer_size=0 2023-10-18 10:46:30 +02:00
openssl Fix CS and checking for IPv6 SAN verify 2023-06-09 16:49:09 +01:00
pcntl Fix getpriority test with negative return value 2023-09-22 10:25:15 +02:00
pcre Fix GH-11956: PCRE regular expressions with JIT enabled gives different result 2023-09-18 20:11:56 +02:00
pdo Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled 2023-07-17 07:08:45 +01:00
pdo_dblib Merge branch 'PHP-8.0' into PHP-8.1 2022-08-26 14:59:08 +02:00
pdo_firebird Fix GH-10908: Bus error with PDO Firebird on RPI with 64 bit kernel and 32 bit userland 2023-03-27 21:01:06 +02:00
pdo_mysql Move ARM build to CircleCI 2023-10-12 13:11:38 +02:00
pdo_oci Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
pdo_odbc Fix missing and inconsistent error check on SQLAllocHandle 2023-03-15 21:36:50 +01:00
pdo_pgsql Merge branch 'PHP-8.0' into PHP-8.1 2022-09-05 17:26:13 +02:00
pdo_sqlite Fix GH-11492: Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt 2023-06-22 20:49:00 +02:00
pgsql ext/pgsql: fix PGtrace invalid free issue. 2023-06-18 13:44:39 +01:00
phar Mark buildFromIterator test as conflicting 2023-08-04 21:08:39 +02:00
posix Fix GH-10202: posix_getgr(gid|nam)_basic.phpt fail 2023-01-02 16:54:47 +00:00
pspell
readline [skip ci] Fix race condition in readline test 2023-05-26 11:39:22 +02:00
reflection Fix GH-11121: ReflectionFiber segfault 2023-10-11 17:19:01 +02:00
session Remove session ID set through REQUEST_URI 2023-06-22 12:35:55 +02:00
shmop
simplexml Apply SimpleXML iterator fixes only on master 2023-09-30 17:48:05 +02:00
skeleton
snmp Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default 2021-12-05 21:03:27 +01:00
soap Fix bug #66150: SOAP WSDL cache race condition causes Segmentation Fault 2023-10-19 18:27:38 +02:00
sockets Fix socket_export_stream() with wrong protocol 2023-09-29 18:33:12 +08:00
sodium
spl Fix GH-11972: RecursiveCallbackFilterIterator regression in 8.1.18 2023-08-30 22:30:59 +02:00
sqlite3 Fix GH-11878: SQLite3 callback functions cause a memory leak with a callable array 2023-09-09 15:33:50 +02:00
standard Move ARM build to CircleCI 2023-10-12 13:11:38 +02:00
sysvmsg
sysvsem
sysvshm Add Windows GitHub actions build 2023-03-01 23:02:03 +01:00
tidy Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
tokenizer Add missing EXTENSION section to tests 2022-10-27 14:39:43 +01:00
xml Fix memory leak when calling xml_parse_into_struct() twice 2023-09-21 19:49:46 +02:00
xmlreader Merge branch 'PHP-8.0' into PHP-8.1 2023-07-31 20:01:03 -05:00
xmlwriter Fix missing check for xmlTextWriterEndElement 2023-01-15 15:34:43 +00:00
xsl Add missing module dependency for xsl 2023-10-15 21:52:47 +02:00
zend_test adds failing test case for #12060 2023-09-05 10:23:22 +01:00
zip [skip ci] Fix tmp file clash in ext/zip/tests/oo_cancel.phpt 2023-05-01 15:28:59 +02:00
zlib Fix incorrect string length for output_handler in zlib ini code 2023-02-23 18:47:26 +00:00
ext_skel.php