Nikita Popov
42b22d3a94
Fix out of bounds write in phpdbg
...
It seems that this code has a peculiar interpretation of "len",
where it actually points to the last character, not one past it.
So we need +1 here for that extra char and another +1 for the
terminating null byte.
2019-06-25 14:28:58 +02:00
Nikita Popov
8757f30cc7
Fix CURLINFO_COOKIELIST leak
2019-06-25 14:28:58 +02:00
Nikita Popov
8277acefbd
Fix leak on sqlite3 open error
...
sqlite3_open creates the database object even if the operation
fails.
2019-06-25 14:28:58 +02:00
Nikita Popov
6fcae63f61
Fix SSL_CTX leak in ftp extension
...
SSL_CTX is a refcounted structure, which will be held by the SSL
handle, so we can free it here.
2019-06-25 14:28:58 +02:00
Nikita Popov
b53bb3c15b
Fix UConverter leak
2019-06-25 14:28:58 +02:00
Nikita Popov
77f7ec5152
Fix TimeZone leak in intl MessageFormat
...
I'm just giving each format a distinct owned object here ... sharing
it looks complicated.
2019-06-25 14:28:58 +02:00
Nikita Popov
c7962207d7
Fix stream leak in phar cache_list
2019-06-25 14:28:58 +02:00
Nikita Popov
74a7d00846
run-tests: Don't die unnecessarily
...
die/exit leak memory, don't use them if we don't need to.
2019-06-25 14:28:58 +02:00
Dmitry Stogov
0655598280
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Set ZEND_ACC_LINKED flag after early binding (for consistency)
2019-06-25 15:06:19 +03:00
Dmitry Stogov
1d534b9da5
Set ZEND_ACC_LINKED flag after early binding (for consistency)
2019-06-25 15:05:27 +03:00
Dmitry Stogov
e4f4be1a05
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Reduce overhead of delayed early binding
2019-06-25 14:21:23 +03:00
Dmitry Stogov
e8f1f70101
Reduce overhead of delayed early binding
2019-06-25 14:20:41 +03:00
Christoph M. Becker
d1141ff24b
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78202 : Opcache stats for cache hits are capped at 32bit NUM
2019-06-25 13:07:00 +02:00
Christoph M. Becker
ead40e31e9
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78202 : Opcache stats for cache hits are capped at 32bit NUM
2019-06-25 13:06:20 +02:00
Christoph M. Becker
18bba63f39
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #78202 : Opcache stats for cache hits are capped at 32bit NUM
2019-06-25 13:04:28 +02:00
Christoph M. Becker
4366f22dfc
Fix #78202 : Opcache stats for cache hits are capped at 32bit NUM
...
We use the proper format specifiers now.
2019-06-25 13:00:28 +02:00
Dmitry Stogov
83c2e6787d
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Prevent useless hash lookups
Update NEWS for 7.4.0alpha3
Update NEWS for PHP 7.4.0alpha2
2019-06-25 12:42:36 +03:00
Dmitry Stogov
bd0cb99d8c
Prevent useless hash lookups
2019-06-25 12:41:06 +03:00
Derick Rethans
d8e6054f46
Update NEWS for 7.4.0alpha3
2019-06-25 09:03:00 +00:00
Derick Rethans
7657741997
Update NEWS for PHP 7.4.0alpha2
2019-06-25 09:01:40 +00:00
Dmitry Stogov
ca22c456ca
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Keep lowercased parent class name as second argument of DECLARE_CLASS to avoid extra work at run-time
2019-06-25 11:32:03 +03:00
Dmitry Stogov
759f4ecd8b
Keep lowercased parent class name as second argument of DECLARE_CLASS to avoid extra work at run-time
2019-06-25 11:30:58 +03:00
Nikita Popov
d2a1fe8462
Merge branch 'PHP-7.4'
2019-06-25 10:26:20 +02:00
Nikita Popov
43dd1ac570
Avoid confusing gotos in phar_split_cache_list
2019-06-25 10:25:44 +02:00
Nikita Popov
31123de0c8
Fix EVP_PKEY leak in phar
2019-06-25 10:25:44 +02:00
Nikita Popov
3a36e68c49
Don't force USE_ZEND_ALLOC=0 in run-tests.php
...
USE_ZEND_ALLOC=0 is useful not just for valgrind ... we should not
force USE_ZEND_ALLOC=1 if the user explicitly disabled it.
2019-06-25 10:25:44 +02:00
Nikita Popov
46bad1d679
Fix region leak in mb_ereg_replace
2019-06-25 10:25:44 +02:00
Dmitry Stogov
e18c60cd8d
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug 78175 (Preloading must store default values of static variables and properties)
2019-06-24 20:34:05 +03:00
Dmitry Stogov
0f29fb5cd8
Fixed bug 78175 (Preloading must store default values of static variables and properties)
2019-06-24 20:32:27 +03:00
Christoph M. Becker
5120e4a133
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Split test case
2019-06-24 14:08:30 +02:00
Christoph M. Becker
94df6dc3fd
Split test case
...
This test is failing on AppVeyor almost all of the time, so splitting
it seems appropriate. This also allows us to rid php_cli_server_stop()
which was only used by this test case.
2019-06-24 14:08:11 +02:00
Nikita Popov
98d05389a7
Merge branch 'PHP-7.4'
2019-06-22 10:20:12 +02:00
Nikita Popov
df27bfe58b
Add debugging code to time_sleep_until test
2019-06-22 10:19:49 +02:00
Derick Rethans
5bc7e4e6f4
Merge branch 'PHP-7.4'
2019-06-21 16:52:29 +01:00
Derick Rethans
d3112adf7f
Merge branch 'bug67348-mysqli-stat' into PHP-7.4
2019-06-21 16:52:15 +01:00
Derick Rethans
579562176b
Fixed bug #67348 : Reading $dbc->stat modifies $dbc->affected_rows
2019-06-21 16:51:52 +01:00
Nikita Popov
d82b270fa4
Remove unused zend_verify_arg_type() function
2019-06-21 17:15:02 +02:00
Nikita Popov
e4371ef158
Merge branch 'PHP-7.4'
2019-06-21 17:01:47 +02:00
Nikita Popov
152ccfb08d
Fix stack leak in phpdbg
2019-06-21 17:01:25 +02:00
Nikita Popov
a7bcfee9c9
Fix prompt leak in phpdbg
2019-06-21 17:01:18 +02:00
Christoph M. Becker
611c57eaf7
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Properly shut down font cache mutex
2019-06-21 16:01:28 +02:00
Christoph M. Becker
eec5d2a25f
Properly shut down font cache mutex
...
Since the font cache mutex in set up in MINIT, we have to shut it down
in MSHUTDOWN.
2019-06-21 16:00:47 +02:00
Andrey Hristov
7b552f816b
Merge branch 'PHP-7.3'
2019-06-21 16:34:52 +03:00
Andrey Hristov
1da15600ae
Merge branch 'PHP-7.3' into PHP-7.4
2019-06-21 16:33:01 +03:00
Andrey Hristov
8326f95fe3
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-21 16:32:13 +03:00
Andrey Hristov
102c64e827
Add explicit cast to uint32_t.
...
It works even without it but explicit stuff is better. The compiler probably converts the 16-bit
uint16_t to uint32_t before doing the shift.
2019-06-21 16:31:56 +03:00
Nikita Popov
d8b2b070ec
Merge branch 'PHP-7.4'
2019-06-21 15:08:20 +02:00
Nikita Popov
021bb35aec
Merge branch 'PHP-7.3' into PHP-7.4
2019-06-21 15:08:12 +02:00
Nikita Popov
66e4b78519
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-21 15:07:59 +02:00
Nikita Popov
99f3e0f0ed
Fix PKCS12 leak in openssl
2019-06-21 15:07:37 +02:00