Christoph M. Becker
41949bb71e
Fix NEWS
...
Bug #78185 fixed a regression in PHP 7.3.7RC2, so should not be listed
here.
2019-07-02 15:08:10 +02:00
Peter Kokot
b039a4115f
Update NEWS [ci skip]
2019-07-01 02:54:42 +02:00
Anatol Belski
a149f9f3c0
Update NEWS [ci skip]
2019-06-29 17:39:45 +02:00
Christoph M. Becker
646debaf38
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #78192 PDO SQLite SegFault when reuse statement after schema has changed
2019-06-28 12:36:55 +02:00
Vincent
05c00a832c
Fix bug #78192 PDO SQLite SegFault when reuse statement after schema has changed
...
Reset stmt->columns when column count changed on new execution of prepared statement
2019-06-28 12:36:02 +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
Christoph M. Becker
a85254b898
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #78189 : file cache strips last character of uname hash
2019-06-20 17:59:59 +02:00
Christoph M. Becker
fcd6f2de60
Fix #78189 : file cache strips last character of uname hash
...
We must not forget to increase `len` by one to cater to the directory
separator.
2019-06-20 17:58:32 +02:00
Christoph M. Becker
a0f370e78a
Update NEWS
2019-06-20 16:59:39 +02:00
Remi Collet
c2ee2e4c74
move NEWS entry
2019-06-20 10:40:52 +02:00
Dmitry Stogov
35acda856a
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #78185 (File cache no longer works)
2019-06-20 09:05:50 +03:00
Dmitry Stogov
cd6a6e4cf2
Fixed bug #78185 (File cache no longer works)
2019-06-20 09:04:14 +03:00
Joe Watkins
025899e3b5
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
2019-06-19 08:59:04 +02:00
Joe Watkins
65067dff01
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
2019-06-19 08:56:20 +02:00
Asher Baker
d54220bc79
Fix #78173 : XML-RPC mutates immutable objects during encoding
...
With opcache.protect_memory=1 enabled, the XML-RPC extension causes a
segfault on PHP 7.2 as it is modifying the recursion counter of objects
it touches, without first checking if they are immutable or not.
This doesn't affect 7.3+
2019-06-18 17:08:11 +02:00
Christoph M. Becker
740d9ecdee
Update NEWS
2019-06-18 09:33:35 +02:00
Remi Collet
e59b986fa7
move NEWS entry
2019-06-18 07:50:44 +02:00
Erik Lundin
9f0515c40c
Add syslog.filter=raw
...
This passes through syslog message unchanged, without splitting
messages at newlines.
2019-06-17 13:13:25 +02:00
Nikita Popov
bada2049ca
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-13 12:52:32 +02:00
Nikita Popov
f1a8138055
Fixed bug #78106
...
When disabling opcache during the request via opcache.enable ini
setting, make sure we also disable ZCG(accelerator_enabled).
2019-06-13 12:51:35 +02:00
Christoph M. Becker
bcf20963c1
Next is 7.3.8
2019-06-11 13:31:30 +02:00
Remi Collet
feb92adc5c
next is 7.2.21
2019-06-11 12:20:26 +02:00
Christoph M. Becker
b215d1339f
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77937 : preg_match failed
2019-06-11 08:44:07 +02:00
Christoph M. Becker
f3ff72e54b
Fix #77937 : preg_match failed
...
On some recent Windows systems, ext\pcre\tests\locales.phpt fails,
because 'pt_PT' is accepted by `setlocale()`, but not properly
supported by the ctype functions, which are used internally by PCRE2 to
build the localized character tables.
Since there appears to be no way to properly check whether a given
locale is fully supported, but we want to minimize BC impact, we filter
out typical Unix locale names, except for a few cases which have
already been properly supported on Windows. This way code like
setlocale(LC_ALL, 'de_DE.UTF-8', 'de_DE', 'German_Germany.1252');
should work like on older Windows systems.
It should be noted that the locale names causing trouble are not (yet)
documented as valid names anyway, see
<https://docs.microsoft.com/en-us/cpp/c-runtime-library/locale-names-languages-and-country-region-strings?view=vs-2019 >.
2019-06-11 08:42:32 +02:00
Dmitry Stogov
15e01132cf
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Restored NEWS entry
2019-06-07 12:38:37 +03:00
Dmitry Stogov
10b208f28d
Restored NEWS entry
2019-06-07 12:37:49 +03:00
Dmitry Stogov
972223c342
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #77135 (Extract with EXTR_SKIP should skip $this)
2019-06-07 11:48:57 +03:00
Dmitry Stogov
83cdb89f8a
Fixed bug #77135 (Extract with EXTR_SKIP should skip $this)
2019-06-07 11:36:39 +03:00
Cameron Porter
7d1aa7534d
Fixed bug #38546
...
Properly support binding boolean parameters with emulated prepared
statements disabled. Also add the necessary mysqlnd support for
MYSQL_TYPE_TINY.
2019-06-07 09:48:43 +02:00
Christoph M. Becker
22a3fa0b2e
Fix #78114 : segfault when calling sodium_* functions from eval
...
We must not follow the NULL pointer.
2019-06-06 10:00:15 +02:00
Nikita Popov
d154301866
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-04 16:27:57 +02:00
Jakub Zelenka
8f69ca8dcd
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-02 19:13:18 +01:00
Jakub Zelenka
2e02579474
Fix bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c)
...
It also fixes invalid setting of tag length
2019-06-02 19:10:56 +01:00
Christoph M. Becker
f3cd6931ca
Update NEWS for 7.3.6
2019-05-29 09:27:23 +02:00
Remi Collet
3051147019
add NEWS entries for sec fix
2019-05-29 08:53:23 +02:00
Joe Watkins
5533f2490a
bump version after release
2019-05-28 09:52:52 +02:00
Stanislav Malyshev
c34895e837
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
2019-05-27 18:48:48 -07:00
Stanislav Malyshev
73ff4193be
Fix bug #77988 - heap-buffer-overflow on php_jpg_get16
2019-05-27 17:28:09 -07:00
Stanislav Malyshev
16e037bd46
Update NEWS
2019-05-27 16:48:32 -07:00
Nikita Popov
0cb43ec51c
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-27 17:43:13 +02:00
Michael Maroszek
a0c9d0849a
Fixed bug #76345
2019-05-27 17:42:20 +02:00
Nikita Popov
6f9dfd9473
Fix bug #77955
...
Free metadata before freeing the arena. I don't have a repro script,
but the added assertion fails for many existing tests prior to this
change.
2019-05-23 13:40:52 +02:00
Nikita Popov
b394654c1e
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-23 11:12:59 +02:00
Nikita Popov
9a74b23297
Fixed bug #78038 socket_select with references
2019-05-23 11:12:15 +02:00
Nikita Popov
f308aa4e1e
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-22 12:45:16 +02:00
Sjon Hortensius
96404eb8e2
Fix #77956 - When mysqli.allow_local_infile = Off, return a client error
2019-05-22 12:44:55 +02:00
Christoph M. Becker
fd607635a4
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #78025 : segfault when accessing properties of DOMDocumentType
2019-05-17 13:32:13 +02:00
Christoph M. Becker
e246dea9fe
Fix #78025 : segfault when accessing properties of DOMDocumentType
...
Instead of following the NULL pointer, we return an empty string.
2019-05-17 13:31:18 +02:00
Nikita Popov
9d76fbd0c4
Fixed bug #78015
...
Don't try to evaluate various operations with partial array operands.
We could evaluate some of these, but let's be conservative for now...
2019-05-15 14:35:31 +02:00
Nikita Popov
5846119e50
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-15 12:48:35 +02:00
Nikita Popov
35353dc49a
Fixed bug #76980
...
If we perform a class fetch that is not marked as exception safe,
convert exceptions thrown by autoloaders into a fatal error.
Ideally fetching the interfaces would be exception safe, but as it
isn't right now, we must abort at this point.
2019-05-15 12:46:23 +02:00
Christoph M. Becker
714d2d8ae1
Update NEWS regarding re-tagging 7.3.6RC1
2019-05-15 11:31:53 +02:00
Sara Golemon
4fa32d67bf
Bump for 7.2.20
2019-05-14 20:22:00 -04:00
Dmitry Stogov
bb7ecb8704
Moved NEWS entry
2019-05-14 14:55:28 +03:00
Dmitry Stogov
a43678aa12
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset
2019-05-14 14:54:30 +03:00
Dmitry Stogov
5c4d125d4c
Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset
2019-05-14 14:53:52 +03:00
Christoph M. Becker
2d93cce03a
Prepare 7.3.7-dev
2019-05-14 11:44:58 +02:00
Christoph M. Becker
69bab6e5a5
Fix #78003 : strip_tags output change since PHP 7.3
...
A refactoring of the strip tags state machine[1] missed the special
treatment of `depth > 0` when a `>` is encountered in state 2 or 3. We
re-add it for BC reasons.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=5cf64742773ddbf9af69d962a4d12b567fcf0084 >
2019-05-13 13:10:24 +02:00
Jakub Zelenka
0cad701374
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-11 20:08:57 +01:00
Jakub Zelenka
cc5c51e7f0
Fix bug #77934 (php-fpm kill -USR2 not working)
2019-05-11 20:07:39 +01:00
Nikita Popov
90318fbcbe
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-09 12:35:11 +02:00
Nikita Popov
35c80583f0
Fixed bug #75186
2019-05-09 12:33:53 +02:00
Javier Spagnoletti
78d24429f2
Update NEWS
with changes made at #4093
2019-05-03 17:32:40 +02:00
Christoph M. Becker
d91b643c87
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Update NEWS wrt. sec fixes
2019-04-30 09:36:09 +02:00
Christoph M. Becker
1210c3b960
Update NEWS wrt. sec fixes
2019-04-30 09:34:53 +02:00
Stanislav Malyshev
f80ad18afa
Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG
...
I do not completely understand what is going on there, but I am pretty
sure dir_entry <= offset_base if not a normal situation, so we better not
to rely on such dir_entry.
2019-04-30 00:05:23 -07:00
Christoph M. Becker
18a9ae412f
Fix #77943 : imageantialias($image, false); does not work
...
Firstly, we must not call `gdImageSetAntiAliased()` (which sets the
color to anti-alias), but rather modify the `gdImage.AA` flag.
Furthermore, we have to actually use the supplied boolean value.
We also make sure that we don't attempt to enable anti-aliasing for
palette images.
2019-04-29 17:23:16 +02:00
Christoph M. Becker
3fc1bdc81c
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77943 : imageantialias($image, false); does not work
2019-04-29 16:18:27 +02:00
Christoph M. Becker
cd94cf60a2
Fix #77943 : imageantialias($image, false); does not work
...
Firstly, we must not call `gdImageSetAntiAliased()` (which sets the
color to anti-alias), but rather modify the `gdImage.AA` flag.
Furthermore, we have to actually use the supplied boolean value.
We also make sure that we don't attempt to enable anti-aliasing for
palette images.
2019-04-29 16:16:46 +02:00
Nikita Popov
ff2b5bda59
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-29 13:53:45 +02:00
Nikita Popov
5da0579259
Fixed bug #77945
...
Make sure that we proper distinguish between empty string key and
no key during SDL serialization.
2019-04-29 13:52:18 +02:00
Peter Kokot
f83c207d60
Update NEWS
2019-04-28 00:51:18 +02:00
Peter Kokot
6d8892aacd
Update NEWS
2019-04-28 00:50:40 +02:00
Christoph M. Becker
e561d4100b
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77944 : Wrong meta pdo_type for bigint on LLP64
2019-04-27 18:47:32 +02:00
Christoph M. Becker
16609880f8
Fix #77944 : Wrong meta pdo_type for bigint on LLP64
...
When actually fetching the data, bigint (unsigned) column values are
returned as integers on LLP64 architectures, so their pdo_type has to
be PDO::PARAM_INT accordingly.
2019-04-27 18:46:27 +02:00
Remi Collet
5d21a15cc3
news entry for litespeed
2019-04-24 09:45:48 +02:00
Nikita Popov
68892410f7
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-23 12:43:32 +02:00
Nikita Popov
4831e150c5
Fixed bug #77843
2019-04-23 12:43:07 +02:00
Nikita Popov
cedee4408b
Fixed bug #77931
2019-04-23 11:40:13 +02:00
Peter Kokot
0b8414832e
Update changelog
2019-04-20 19:13:06 +02:00
Peter Kokot
295c66911f
Update changelog
2019-04-20 19:12:17 +02:00
Christoph M. Becker
f0ccd9ffc6
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77911 : Wrong warning for session.sid_bits_per_character
2019-04-17 17:24:15 +02:00
Christoph M. Becker
d20053a556
Fix #77911 : Wrong warning for session.sid_bits_per_character
2019-04-17 17:23:23 +02:00
Ignace Nyamagana Butera
7b1a4e2400
Fixed bug #77909 : DatePeriod::__construct() with invalid recurrence count value
...
Improve error message on invalid reccurence count
Adding test when reccurence is -1
2019-04-17 09:39:03 +01:00
Remi Collet
6c44a71e4a
next is 7.2.19
2019-04-16 13:11:23 +02:00
Christoph M. Becker
5ae49c43dc
Prepare main branch for PHP 7.3.6
2019-04-16 11:56:03 +02:00
Nikita Popov
9a9eed472b
Fix second part of bug #77903
...
When a HT iterator is one past the end and we rehash, we need to make
sure that it is move to the new one past the end position, to make
sure that newly inserted elements are picked up.
2019-04-16 10:38:20 +02:00
Nikita Popov
a2f3ec1777
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-15 15:27:30 +02:00
Nikita Popov
619c4e9f2e
Fixed bug #77895
2019-04-15 15:26:58 +02:00
Nikita Popov
14047b50b4
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-15 10:25:11 +02:00
Nikita Popov
e9c0367fdc
Fixed bug #77882
2019-04-15 10:22:40 +02:00
Côme Chilliet
3e1eff251b
Updated NEWS
2019-04-15 10:19:19 +02:00
Nikita Popov
08a3062816
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-08 11:41:48 +02:00
Nikita Popov
d7b5954f28
Fixed bug #77853
2019-04-08 11:40:50 +02:00
Nikita Popov
0a25b41f6d
Merge branch 'PHP-7.2' into PHP-7.3
2019-04-08 11:12:52 +02:00
Nikita Popov
eea61cda7d
Fixed bug #77844
...
We should probably return an integer result from the operation in
typed mode, right now the result is always a string.
2019-04-08 11:11:58 +02:00
Joe Watkins
0d5be6ce91
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
2019-04-06 00:55:46 +02:00
Cameron Porter
9ec1525eb5
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
2019-04-06 00:54:59 +02:00
Christoph M. Becker
54bed8d2ea
Fix typos
2019-04-04 14:22:36 +02:00
Christoph M. Becker
849c49a714
Update NEWS
2019-04-02 16:54:15 +02:00
Joe Watkins
731eeb8dec
bump versions after release
2019-04-02 16:50:20 +02:00
Stanislav Malyshev
887a7b5714
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
2019-04-02 00:12:26 -07:00
Stanislav Malyshev
3d5b6f234e
Update NEWS & UPGRADING
2019-04-01 00:03:49 -07:00
Stanislav Malyshev
c684d32fb8
Update NEWS
2019-03-31 23:11:15 -07:00
Christoph M. Becker
d8b7728b0e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77827 : preg_match does not ignore \r in regex flags
2019-03-31 13:33:21 +02:00
Christoph M. Becker
88460c017a
Fix #77827 : preg_match does not ignore \r in regex flags
2019-03-31 13:31:54 +02:00
Joe Watkins
eb405a2192
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77805 phpdbg build fails when readline is shared
2019-03-27 10:04:07 +01:00
Joe Watkins
7af270eb28
Fix #77805 phpdbg build fails when readline is shared
2019-03-27 10:02:42 +01:00
Joe Watkins
e177d26d0e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77800 phpdbg segfaults on conditional breakpoints
2019-03-26 23:06:15 +01:00
Joe Watkins
7df8e4fc0a
Fix #77800 phpdbg segfaults on conditional breakpoints
2019-03-26 23:05:06 +01:00
Peter Kokot
6ef6d31776
[ci skip] Update NEWS
2019-03-25 21:57:20 +01:00
Peter Kokot
72a2ab39ba
[ci skip] Update NEWS
2019-03-25 21:46:41 +01:00
Vlad Temian
ec2ecb7e12
Fix bug #77680 : Correctly implement recursive mkdir on FTP stream
...
If the root directory was missing, an extra CWD without arguments was
made. Also, the MKD contained an empty string.
Now the CWD will use / and MKDs will be issued starting from the root
directory.
2019-03-25 17:43:46 +01:00
Nikita Popov
e97577edde
Fixed bug #77793
...
By making sure that we always first increment the refcount of the
new value before we destroy the old one.
2019-03-25 17:33:17 +01:00
Nikita Popov
91d4d175ab
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-25 16:43:21 +01:00
Nikita Popov
85095dfd09
Fixed bug #72175
...
Make sure we don't close the connection we're trying to reuse...
2019-03-25 16:41:21 +01:00
Joe Watkins
93740a2482
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
fix bug #76801 : phpdbg too many open files error
2019-03-23 09:48:20 +01:00
Alessandro Chitolina
b8b880932e
fix bug #76801 : phpdbg too many open files error
2019-03-23 09:47:49 +01:00
Nikita Popov
30ddfd49ed
Fixed bug #77773
2019-03-22 13:07:00 +01:00
Nikita Popov
620a753185
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-22 12:41:02 +01:00
Nikita Popov
da35fa2cb8
Fixed bug #77772
2019-03-22 12:39:27 +01:00
Remi Collet
a785ccd21a
NEWS
2019-03-20 11:54:49 +01:00
Sara Golemon
963428a75d
Bump versions for 7.2.18
2019-03-19 14:31:08 -04:00
Christoph M. Becker
a2de42041c
Prepare main branch for PHP 7.3.5
2019-03-19 16:20:55 +01:00
Nikita Popov
661bce47ae
Fixed bug #76127
...
Per documentation, and consistent with other preg functions, we
should return false if an error occurred.
2019-03-19 13:57:39 +01:00
Nikita Popov
d53e9c7392
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-19 10:03:05 +01:00
Vlad Temian
fe2885d80a
Fixed bug #77765
...
Set mode 40755 for directories, via FTP stream stat.
Because we already manage to CWD into the current directory,
we should set 40755 as mode, instead of 40644.
2019-03-19 10:02:38 +01:00
Nikita Popov
20c261b2fe
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-19 09:55:42 +01:00
Miriam Lauter
09e522322a
Fix #77767 : phpdbg break command help message shows incorrect aliases
...
Previously the aliases for at and del were listed as A and d
in the help message for break. This patch corrects the aliases
to be @ and ~ respectively.
2019-03-19 09:55:10 +01:00
Christoph M. Becker
5ead86a35e
Fix order
2019-03-18 20:07:38 +01:00
Christoph M. Becker
a529826d95
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77578 : Crash when php unload
2019-03-18 19:24:56 +01:00
Christoph M. Becker
41bc51ce2d
Fix #77578 : Crash when php unload
...
Since we're putting `ITypeLib *`s into the hash, we're getting
`ITypeLib *`s back, not `ITypeLib **`s.
2019-03-18 19:21:38 +01:00
Nikita Popov
da7add3525
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-18 10:51:00 +01:00
Nikita Popov
54bf8c820f
Fixed bug #77743
2019-03-18 10:49:53 +01:00
Christoph M. Becker
ad2d2e41de
Fix #76956 : Wrong value for 'syslog.filter' documented in php.ini
2019-03-18 10:19:30 +01:00
Ignace Nyamagana Butera
6eb83a63e1
Fixed bug #75113 : Added DatePeriod::getRecurrences() method.
2019-03-17 14:37:35 -04:00
Xinchen Hui
b419590893
Fixed bug #77697 (Crash on Big_Endian platform)
2019-03-15 16:58:08 +08:00
Nikita Popov
217c05da52
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-14 17:25:54 +01:00
Nikita Popov
e7d40afb7a
Fixed bug #77742
...
By avoiding integer overflow in the implementation entirely. The
multiplication was already explicitly checked for overflow, so also
add a check for the addition and remove the overflow checks after
the calculation.
2019-03-14 17:24:50 +01:00
Xinchen Hui
82174e68b6
updated NEWS
2019-03-14 16:47:16 +08:00
Xinchen Hui
c7920aba3e
Fixed bug #77738 (Nullptr deref in zend_compile_expr)
2019-03-14 16:46:04 +08:00
Nikita Popov
a7739be22f
Fixed bug #77722
2019-03-12 09:58:09 +01:00
bohwaz
58c25bf679
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 18:02:03 +01:00
Christoph M. Becker
e7ce7c6bb2
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:30:16 +01:00
bohwaz
e93259bb23
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:26:15 +01:00
Nikita Popov
6818ca3c02
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-11 15:36:27 +01:00
Nikita Popov
1fd32e9c2f
Fixed bug #76717
...
Print INT_MIN as -INT_MAX-1 to avoid it getting parsed as a float
literal due to integer overflow.
2019-03-11 15:35:02 +01:00
Dmitry Stogov
0a416b3d97
ws
2019-03-07 13:59:18 +03:00
Dmitry Stogov
5da591c529
Fixed bug #77345 (Stack Overflow caused by circular reference in garbage collection)
2019-03-07 13:33:19 +03:00
Christoph M. Becker
0d88388912
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77700 : Writing truecolor images as GIF ignores interlace flag
2019-03-06 00:37:38 +01:00
Christoph M. Becker
41fb0eaa11
Fix #77700 : Writing truecolor images as GIF ignores interlace flag
...
We revert the interlace flag related part of commit ff2822a[1], since
contrary to the transparent color, the interlace flag is not retained
by `gdImageCreatePaletteFromTrueColor()`. This also matches upstream
libgd.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=ff2822a82b740edb8ccf307f080bae188c200fb9 >
2019-03-06 00:34:40 +01:00
Joe Watkins
b6308f5b48
fix news
2019-03-05 20:50:07 +01:00
Joe Watkins
58c5df3d37
bump versions after release
2019-03-05 18:28:47 +01:00
Remi Collet
0e836f523a
add NEWS entry
2019-03-05 07:32:24 +01:00
Christoph M. Becker
007ac353dd
Update NEWS
2019-03-04 19:50:41 +01:00
Christoph M. Becker
6ff0b24ef4
Update NEWS
2019-03-04 13:47:14 +01:00
Nikita Popov
3f00c9367d
Fixed bug #77691
...
We cannot replace an op1_def opcode with an ASSIGN, if it also has
a used res_def. Usually this doesn't happen because the res_def use
can be eliminated first. The example is a case where operand replacement
on the res_def use fails.
2019-03-04 13:11:12 +01:00
Remi Collet
2694953ada
add NEWS entries
2019-03-04 11:09:01 +01:00
Stanislav Malyshev
e0f5d62bd6
Fix bug #77586 - phar_tar_writeheaders_int() buffer overflow
2019-03-03 23:05:32 -08:00
Stanislav Malyshev
759e841b24
Update NEWS
2019-03-03 20:10:12 -08:00
Peter Kokot
637713c1a4
Update NEWS
2019-03-02 18:50:33 +01:00
Peter Kokot
c39fb1fc4f
Update NEWS
2019-03-01 22:44:22 +01:00
Nikita Popov
16cda039b5
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-01 14:51:55 +01:00
Kevin Adler
006355c9fa
Fix bug #77677 : WCOREDUMP not available on all systems
...
Add #ifdef WCOREDUMP around all uses.
Also Change core dump message to yes/no/unknown in lsapilib.
2019-03-01 14:51:15 +01:00
Derick Rethans
a890c5beb8
Fixed bug #50020 (DateInterval:createDateFromString() silently fails)
2019-02-28 13:50:35 +00:00
Nikita Popov
019fd1d9ba
Merge branch 'PHP-7.2' into PHP-7.3
2019-02-28 09:58:47 +01:00
Nikita Popov
9ad9cc71ff
Fixed bug #77669
2019-02-28 09:58:01 +01:00
Xinchen Hui
fb3f078eeb
Update NEWS
2019-02-25 15:00:37 +08:00
Xinchen Hui
1c22ace058
Fixed bug #77660 (Segmentation fault on break 2147483648)
2019-02-25 15:00:14 +08:00
Xinchen Hui
3b5475e9ee
Update NEWS
2019-02-25 14:42:18 +08:00
Xinchen Hui
4a72dd782d
Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper)
2019-02-25 14:41:46 +08:00
Christoph M. Becker
831eba0eac
Fix #77648 : BOM in sapi/apache2handler/php_functions.c
2019-02-22 11:10:50 +01:00
Nikita Popov
bd2a00acdf
Merge branch 'PHP-7.2' into PHP-7.3
2019-02-22 10:13:21 +01:00
Nikita Popov
5388143855
Fixed bug #77652
2019-02-22 10:11:54 +01:00
Frank Denis
5c221bcd01
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #77646
2019-02-21 16:34:42 +01:00
Frank Denis
08089b575b
Fix bug #77646
2019-02-21 16:33:03 +01:00
Frank Denis
e7ca69f1fa
Fix bug #77646
2019-02-21 16:14:33 +01:00
Nikita Popov
e5d8ac92a4
Merge branch 'PHP-7.2' into PHP-7.3
2019-02-21 13:45:53 +01:00
Nikita Popov
934691fabb
Fixed bug #77597
...
The same variable was reused in two nested loops... The test doesn't
fail on 7.2, but I'm fixing this here anyway as the code is clearly
wrong, and probably erroneous in other situations.
2019-02-21 13:42:47 +01:00
Christoph M. Becker
2ec59b3ef3
Prepare main branch for PHP 7.3.4
2019-02-19 13:06:40 +01:00
Remi Collet
b243f2feca
bump version to 7.2.17-dev
2019-02-19 12:46:52 +01:00
Christoph M. Becker
767fa3dc02
Fix #77626 : Persistence confusion in php_com_import_typelib()
...
We apply only the most minimal fix here, and will cater to the
unnecessary re-allocation for PHP-7.4.
We don't need to add a regression test, since bug39606.phpt and
bug77621.phpt already show the misbehavior.
2019-02-15 18:56:24 +01:00
Christoph M. Becker
8946ad3000
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77621 : Already defined constants are not properly reported
2019-02-15 00:37:39 +01:00
Christoph M. Becker
de738496c2
Fix #77621 : Already defined constants are not properly reported
...
We must not check uninitialized values (i.e. `c.value`), and we have to
use proper types for printf-style formats (i.e. `char *` instead of
`zend_string *`).
2019-02-15 00:35:21 +01:00
Nikita Popov
eb063c8a9f
Fixed bug #77612
...
Port php_setcookie() to use the smart_str API to ensure that there
can be no string truncation issues.
2019-02-14 10:42:59 +01:00
Darek Slusarczyk
6f7a47db5d
Merge branch 'PHP-7.2' into PHP-7.3
2019-02-11 18:18:57 +01:00
Darek Slusarczyk
83d2bc9b6d
Merge branch 'PHP-7.1' into PHP-7.2
2019-02-11 18:08:21 +01:00
Darek Slusarczyk
2eaabf06fc
security fix - by default 'local infile' is disabled:
...
- set default for mysqli.allow_local_infile=0
- explicitly disable PDO::MYSQL_ATTR_LOCAL_INFILE in case of lack of driver options
- add getAttribute support for PDO::MYSQL_ATTR_LOCAL_INFILE
- update existing tests where needed
- add new tests [checking default value and setting on] the 'local infile' in ext/mysqli and ext/pdo_mysql
2019-02-11 18:04:51 +01:00
Nikita Popov
4da67537c1
Merge branch 'PHP-7.2' into PHP-7.3
2019-02-11 15:50:47 +01:00
Ahmed Abdou
ec28d4c247
Fix bug #51068 (glob:// do not support current path relative)
...
Fix DirectoryIterator glob://* current path relative queries
2019-02-11 15:50:27 +01:00
Nikita Popov
be64a06b1c
Merge branch 'PHP-7.2' into PHP-7.3
2019-02-11 11:33:04 +01:00
johnstevenson
fe4d7248cc
Fix #77552 : Uninitialized buffer in stat functions
2019-02-11 11:31:55 +01:00
Xinchen Hui
4f044f680c
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)
Conflicts:
Zend/zend_ini_scanner.c
2019-02-11 15:33:59 +08:00
Xinchen Hui
92055ca79b
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)
...
Section name should not be typed(NULL, FALSE, TRUE etc)
2019-02-11 15:27:29 +08:00
Christopher Jones
bdce2954c3
Merge PDO_OCI PR
2019-02-11 16:38:23 +11:00
Christopher Jones
1f86dcdd13
PDO_OCI tracing attribute PR merge
2019-02-11 16:19:13 +11:00
Christoph M. Becker
b2907527e9
Fix NEWS
...
Bug #77287 is already fixed in PHP 7.3.2.
2019-02-05 23:04:31 +01:00
Christoph M. Becker
c0228f741e
[ci skip] Add missing notes regarding gc_status()
2019-02-03 18:28:43 +01:00
Dmitry Stogov
203a2da30a
Fixed bug #77329 (Buffer Overflow via overly long Error Messages)
2019-02-01 11:11:15 +03:00
Joe Watkins
7d1df603ad
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug 76596: phpdbg supports display_errors=stderr
2019-01-30 18:28:25 +01:00
Kevin Abel
3890c8bce5
Fix bug 76596: phpdbg supports display_errors=stderr
2019-01-30 18:27:57 +01:00
Guillaume Degoulet
f27f902266
Fix #77546 iptcembed broken function
2019-01-30 17:09:12 +01:00
Christoph M. Becker
cbc5a141f7
Prepare main branch for PHP 7.2.16
2019-01-30 01:27:57 +01:00
Nikita Popov
ab3c94a54f
Merge branch 'PHP-7.2' into PHP-7.3
2019-01-28 09:23:23 +01:00
ekinhbayar
ef68cd3249
Fixed bug #77530 : PHP crashes when parsing "(2)::class"
2019-01-28 09:22:18 +01:00
Jakub Zelenka
0da13086bd
Merge branch 'PHP-7.2' into PHP-7.3
2019-01-25 14:16:08 +00:00
Jakub Zelenka
dc2ffdeed7
Fix bug #77390 (feof might hang on TLS streams in case of fragmented TLS records)
...
Simplified version of the fix from Abyl Valg so credit to him.
2019-01-25 14:13:11 +00:00
Nikita Popov
f78e681428
Fixed bug #77498
...
I've renamed the function to the same name as the exported symbol
in master.
2019-01-25 11:01:06 +01:00
Nikita Popov
3c98c2d0cb
Fixed bug #77514
2019-01-24 15:13:49 +01:00
Dmitry Stogov
aa9a8dbda3
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #77494 (Disabling class causes segfault on member access)
2019-01-24 13:07:31 +03:00
Dmitry Stogov
73f222d722
Fixed bug #77494 (Disabling class causes segfault on member access)
2019-01-24 13:06:36 +03:00
Christoph M. Becker
19a9a6ba24
Prepare main branch for PHP 7.3.3
2019-01-22 14:04:03 +01:00
Nikita Popov
76760901fa
Fixed bug #77287
...
There may be an EXT_NOP opcode before the parameter list, we should
skip over it.
2019-01-22 12:15:06 +01:00
Anatol Belski
a1b1c53d13
Update NEWS [ci skip]
2019-01-20 16:00:25 +01:00
Anatol Belski
d978590c74
Update NEWS [ci skip]
2019-01-20 15:58:19 +01:00
Christoph M. Becker
1907cbd8b3
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77479 : imagewbmp() segfaults with very large images
2019-01-19 10:18:20 +01:00
Christoph M. Becker
44fa0b0f31
Fix #77479 : imagewbmp() segfaults with very large images
...
We must not proceed working with the Wbmp structure, if it hasn't been
allocated.
2019-01-19 10:16:02 +01:00
Nikita Popov
de38ce1a2e
Merge branch 'PHP-7.2' into PHP-7.3
2019-01-18 12:05:11 +01:00
Pedro Magalhães
32ae716037
Fixed bug #76675
...
Leave a reference to the resource in the php_curl.
2019-01-18 12:04:25 +01:00
Jakub Zelenka
766b4fd515
Fix bug #77430 (php-fpm crashes with Main process exited)
2019-01-17 18:37:09 +00:00
Christoph M. Becker
26b5aa8584
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #73614 : gdImageFilledArc() doesn't properly draw pies
2019-01-16 20:22:37 +01:00
Christoph M. Becker
61cfa34e11
Fix #73614 : gdImageFilledArc() doesn't properly draw pies
...
The fix for PHP bug 43828[1] changed the algorithm from drawing filled
pies from drawing multiple triangles to drawing a single polygon. Due
to quirks of the filled polygon drawing algorithm, we had to filter out
extraneous vertices. This lead, however, to a bug regarding displaced
starting and ending points near 90° and 270° degrees, which we fix by
reinserting these vertices if they had been removed.
This fix is a port of libgd/libgd@1406b1a .
[1] <https://bugs.php.net/bug.php?id=43828 >
2019-01-16 20:10:04 +01:00
Dmitry Stogov
1a306cc9a1
Fixed bug #77308 (Unbuffered queries memory leak)
2019-01-14 13:59:30 +03:00
Nikita Popov
c8c5a3ab8a
Fixed bug #77447
...
By disabling asan for CPU support helpers used in ifunc resolvers.
2019-01-14 11:44:48 +01:00
Dmitry Stogov
920450534e
Fixed bug #77263 (Segfault when using 2 RecursiveFilterIterator)
2019-01-14 13:18:28 +03:00
Nikita Popov
d6212835f2
Merge branch 'PHP-7.2' into PHP-7.3
2019-01-14 10:23:44 +01:00
Nikita Popov
3ad0ebdf5c
Fixed bug #77454
2019-01-14 10:22:48 +01:00
Nikita Popov
e6eac08abd
Merge branch 'PHP-7.2' into PHP-7.3
2019-01-11 10:29:34 +01:00
Kevin Adler
332b58f865
Fix bug #77361 (configure fails on 64-bit AIX when opcache enabled)
...
In f904830012
, support for GNU Hurd was added to the opcache and
the configure check to ensure the opcache knows the flock struct
layout prior to building was changed check for two cases: BSD layout
and Linux layout. All the existing hard-coded cases in
ZendAccelerator.h follow these two cases, except for 64-bit AIX.
This means that even though building on 64-bit AIX would work,
the configure script refuses to continue.
Add a new configure check for the 64-bit AIX case and a new
compiler definition HAVE_FLOCK_AIX64. Now that all the cases are
covered, simplify the ifdef logic around these three HAVE_FLOCK_*
macros:
- The macOS and the various BSD flavors fall under HAVE_FLOCK_BSD
- Linux, HP-UX, GNU Hurd, 32-bit AIX, and SVR4 environments
fall under HAVE_FLOCK_LINUX
- 64-bit AIX falls under HAVE_FLOCK_AIX64
The only difference between the existing HAVE_FLOCK_LINUX and
the hard-coded Linux/HP-UX/Hurd case is that the latter
initialized the 5th member to 0, but since the C standard already
says that un-initialized members will be initialized to 0,
it's effectively the same.
2019-01-11 10:21:02 +01:00
Christoph M. Becker
3f9ddeb122
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #73281 : imagescale(…, IMG_BILINEAR_FIXED) can cause black border
2019-01-10 16:27:43 +01:00
Christoph M. Becker
6b4cdbaade
Fix #73281 : imagescale(…, IMG_BILINEAR_FIXED) can cause black border
...
We port the upstream fixes for libgd/libgd#329 and libgd/libgd#224 .
2019-01-10 16:11:23 +01:00
Christoph M. Becker
1e407256f2
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77272 : imagescale() may return image resource on failure
2019-01-10 14:25:11 +01:00
Christoph M. Becker
772b1cb245
Fix #77272 : imagescale() may return image resource on failure
...
`_gdScaleHoriz()` and `_gdScaleVert()` may fail, but don't signal
failure since they are void functions. We change that according to
upstream libgd.
We also remove the unused `Scale()` function, which doesn't exist in
upstream libgd either, right away.
2019-01-10 14:05:09 +01:00
Nikita Popov
00e5d0e859
Merge branch 'PHP-7.2' into PHP-7.3
2019-01-10 10:57:41 +01:00
Nikita Popov
5d33024a5d
Fixed bug #77439
2019-01-10 10:57:04 +01:00
Nikita Popov
ade702a0d2
Fixed bug #77434
...
Mark arrays containing partial arrays as partial. This was already
done for the ADD_ARRAY_ELEMENT case, but not for ASSIGN_DIM.
2019-01-10 10:25:55 +01:00
Christoph M. Becker
c4c6b80b9c
Sync NEWS with 7.3.1
...
All these bugs are fixed in PHP-7.3.1 already.
2019-01-09 11:46:48 +01:00
Lauri Kenttä
63c38c9e49
Fixed bug #77289
...
Use mysqlnd_restart_psession and mysqlnd_end_psession in PDO MySQL.
This makes sure we free last_message while ZMM is still live.
2019-01-09 09:50:26 +01:00
Sara Golemon
fabade1573
Bump for 7.1.27
2019-01-08 14:17:43 -05:00
Xinchen Hui
cd49db9d47
Fixed bug #77266 (Assertion failed in dce_live_ranges)
2019-01-08 19:19:01 +08:00
Nikita Popov
76c687feaf
Fixed bug #77428
...
mb_ereg_replace historically has not supported escaping backslashes
with backslashes. Go back to that behavior for BC reasons.
2019-01-08 10:21:01 +01:00
Christoph M. Becker
deb88f2269
Fix NEWS
...
The fixes for bug #77359 and #77360 have been ported to PHP-7.3.1, and
the release has been postponed by one week.
2019-01-07 13:11:04 +01:00
Remi Collet
3e780d7f25
[ci skip] fix NEWS
2019-01-07 11:12:13 +01:00
Remi Collet
03a630ded7
[ci skip] fix NEWS
2019-01-07 11:02:40 +01:00
Stanislav Malyshev
aeec40cb50
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #77418 - Heap overflow in utf32be_mbc_to_code
Add NEWS
[ci skip] Add NEWS
Fix more issues with encodilng length
Fix #77270 : imagecolormatch Out Of Bounds Write on Heap
Fix bug #77380 (Global out of bounds read in xmlrpc base64 code)
Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
Fix #77269 : Potential unsigned underflow in gdImageScale
Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
Regenerate certs for openssl tests
2019-01-06 23:35:09 -08:00
Stanislav Malyshev
cfe77ea543
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #77418 - Heap overflow in utf32be_mbc_to_code
Add NEWS
[ci skip] Add NEWS
Fix more issues with encodilng length
Fix #77270 : imagecolormatch Out Of Bounds Write on Heap
Fix bug #77380 (Global out of bounds read in xmlrpc base64 code)
Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
Fix #77269 : Potential unsigned underflow in gdImageScale
Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
Regenerate certs for openssl tests
2019-01-06 23:34:26 -08:00
Stanislav Malyshev
1afebfb3fa
Merge branch 'PHP-5.6' into PHP-7.1
...
* PHP-5.6:
Fix bug #77418 - Heap overflow in utf32be_mbc_to_code
[ci skip] Add NEWS
Fix more issues with encodilng length
Fix #77270 : imagecolormatch Out Of Bounds Write on Heap
Fix bug #77380 (Global out of bounds read in xmlrpc base64 code)
Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
Fix #77269 : Potential unsigned underflow in gdImageScale
Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
Regenerate certs for openssl tests
2019-01-06 23:33:34 -08:00
Stanislav Malyshev
9d6c59eeea
Fix bug #77418 - Heap overflow in utf32be_mbc_to_code
2019-01-06 23:31:15 -08:00
Stanislav Malyshev
1b7c599a02
Add NEWS
2019-01-06 13:11:55 -08:00