Christoph M. Becker
32df9aeda5
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78976 : SplFileObject::fputcsv returns -1 on failure
2019-12-17 17:53:44 +01:00
Christoph M. Becker
4cd6d384bd
Fix #78976 : SplFileObject::fputcsv returns -1 on failure
...
`php_stream_write()` returns `-1` on failure now, which has to be
catered to by `SplFileObject::fputcsv()` which still is supposed to
return `false` on failure.
2019-12-17 17:52:18 +01:00
Nikita Popov
7194825c86
Fix leak of dynamic property name in address helper
2019-12-17 16:59:35 +01:00
Nikita Popov
83ff4f5986
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Free buffer in php_verror even if it is empty
2019-12-17 16:47:49 +01:00
Nikita Popov
e45b613950
Free buffer in php_verror even if it is empty
...
vspprintf allocates a buffer even if the resulting string is empty.
2019-12-17 16:46:52 +01:00
Nikita Popov
ed55a61b8b
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix resetting of internal_encoding and friends
2019-12-17 16:28:56 +01:00
Nikita Popov
fcdc0a6db0
Fix resetting of internal_encoding and friends
...
We need to update the value even if new_value is NULL. In particular,
it should be reset back to NULL after each request if the setting was
not specified on startup. Otherwise we leave dangling pointers.
2019-12-17 16:27:56 +01:00
Dmitry Stogov
b7e1eecd54
Avoid generation of "jmp" to next instruction
2019-12-17 15:42:02 +03:00
Nikita Popov
f0d1a27951
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Avoid float to int cast UB in exif
2019-12-17 13:26:32 +01:00
Nikita Popov
dd997a40d0
Avoid float to int cast UB in exif
2019-12-17 13:26:05 +01:00
Dmitry Stogov
97bba4ffd6
Make "exception_handler_undef" stub to check EG(opline_before_exception) and undefine corresponnding result variable, if necessary.
...
This fixes few invalid "exception_handler_undef" usages.
2019-12-17 14:09:26 +03:00
Christoph M. Becker
4ce1fdacb5
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Update/fix NEWS [ci skip]
2019-12-17 10:05:40 +01:00
Christoph M. Becker
ddd6e68ef9
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Update/fix NEWS [ci skip]
2019-12-17 10:05:18 +01:00
Christoph M. Becker
3d50131ef7
Update/fix NEWS [ci skip]
2019-12-17 10:04:42 +01:00
Christoph M. Becker
9c0b18c16e
Merge branch 'PHP-7.4'
...
* PHP-7.4:
[ci skip] Update NEWS
[ci skip] Update NEWS
Fix test
2019-12-17 10:03:13 +01:00
Christoph M. Becker
900283d25d
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
[ci skip] Update NEWS
[ci skip] Update NEWS
Fix test
2019-12-17 10:02:43 +01:00
Christoph M. Becker
b94c28b0e6
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
[ci skip] Update NEWS
2019-12-17 10:01:50 +01:00
Stanislav Malyshev
0e413241ec
[ci skip] Update NEWS
2019-12-16 23:45:11 -08:00
Stanislav Malyshev
9705e631a4
[ci skip] Update NEWS
2019-12-16 23:41:04 -08:00
Dmitry Stogov
b1f08079b5
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Property names of internal classes from temporary extensins, loaded by dl(), may be emalloc-ed strings.
2019-12-17 10:13:13 +03:00
Dmitry Stogov
d89cd0bb22
Property names of internal classes from temporary extensins, loaded by dl(), may be emalloc-ed strings.
2019-12-17 10:10:11 +03:00
Dmitry Stogov
6895eb4db5
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed memory leak
2019-12-17 10:09:43 +03:00
Dmitry Stogov
abf05181b9
Fixed memory leak
2019-12-17 10:09:22 +03:00
Dmitry Stogov
c8dbbd74e9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed memory leaks
2019-12-17 09:58:56 +03:00
Dmitry Stogov
0927af3d8d
Fixed memory leaks
2019-12-17 09:58:27 +03:00
Nikita Popov
7d07f19eee
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Set opcache.optimization_level=0 in test
2019-12-16 20:23:53 +01:00
Nikita Popov
77e131da91
Set opcache.optimization_level=0 in test
...
Otherwise opcache "inlines" the function, which causes a minor
difference in destruction behavior.
2019-12-16 20:23:17 +01:00
Stanislav Malyshev
90b1362629
Fix tests
2019-12-16 10:59:36 -08:00
Stanislav Malyshev
a62154564d
Fix test
2019-12-16 10:32:49 -08:00
Stanislav Malyshev
6556916759
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Test fixes
2019-12-16 10:31:40 -08:00
Stanislav Malyshev
d82a2f6c21
Test fixes
2019-12-16 10:31:22 -08:00
Stanislav Malyshev
0dfff646a2
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix test
Fix bug #78793
Fix build - no model field anymore
Fixed bug #78910
Fix #78878 : Buffer underflow in bc_shift_addsub
Fix test
Fix #78862 : link() silently truncates after a null byte on Windows
Fix #78863 : DirectoryIterator class silently truncates after a null byte
Fix #78943 : mail() may release string with refcount==1 twice
2019-12-16 10:07:15 -08:00
Stanislav Malyshev
6b010b5d86
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix test
Fix bug #78793
2019-12-16 10:05:02 -08:00
Stanislav Malyshev
6b9af4f5d9
Merge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4
...
* 'PHP-7.4' of git.php.net:php-src:
Remove DateTime class registration test
Fixed bug #78973
Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS)
2019-12-16 10:04:09 -08:00
Stanislav Malyshev
5cb4686753
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix test
Fix bug #78793
2019-12-16 10:04:03 -08:00
Stanislav Malyshev
6d5cddabaf
Fix test
2019-12-16 10:03:43 -08:00
Nikita Popov
69eaddabf8
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove DateTime class registration test
2019-12-16 18:57:47 +01:00
Nikita Popov
8e12f04b5e
Remove DateTime class registration test
...
This test is more annoying than useful.
2019-12-16 18:57:19 +01:00
Nikita Popov
98527d7d4c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #78973
2019-12-16 18:53:32 +01:00
Nikita Popov
11b041d3c6
Fixed bug #78973
...
Save opline in leave helper to correctly handle destructor calls
during CV freeing (or other leave freeing).
2019-12-16 18:52:30 +01:00
Dmitry Stogov
546392b346
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS)
2019-12-16 12:25:40 +03:00
Dmitry Stogov
6ef7e53c1b
Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS)
2019-12-16 12:24:47 +03:00
Stanislav Malyshev
c14eb8de97
Fix bug #78793
2019-12-16 01:14:58 -08:00
Stanislav Malyshev
c85a877577
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix build - no model field anymore
2019-12-16 01:11:01 -08:00
Stanislav Malyshev
b74a300edf
Fix build - no model field anymore
2019-12-16 01:10:42 -08:00
Stanislav Malyshev
d9f57e8316
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed bug #78910
Fix #78878 : Buffer underflow in bc_shift_addsub
Fix test
Fix #78862 : link() silently truncates after a null byte on Windows
Fix #78863 : DirectoryIterator class silently truncates after a null byte
Fix #78943 : mail() may release string with refcount==1 twice
2019-12-16 00:39:37 -08:00
Stanislav Malyshev
a65b8abf2c
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #78910
Fix #78878 : Buffer underflow in bc_shift_addsub
Fix test
Fix #78862 : link() silently truncates after a null byte on Windows
Fix #78863 : DirectoryIterator class silently truncates after a null byte
2019-12-16 00:38:54 -08:00
Stanislav Malyshev
d348cfb96f
Fixed bug #78910
2019-12-16 00:10:39 -08:00
Christoph M. Becker
eb23c60087
Fix #78878 : Buffer underflow in bc_shift_addsub
...
We must not rely on `isdigit()` to detect digits, since we only support
decimal ASCII digits in the following processing.
2019-12-16 00:05:03 -08:00
Stanislav Malyshev
b771a18133
Fix test
2019-12-16 00:03:18 -08:00