History log of /PHP-7.4/NEWS (Results 476 – 500 of 11776)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d39edebb 24-Jan-2020 Máté Kocsis

Fix #78666 mysqli_options generates Warning on var_dump()

Closes GH-5121


# addc3c92 28-Jan-2020 Christoph M. Becker

Fix #79174: cookie values with spaces fail to round-trip

The fix for bug #78929 disabled the conversion of spaces in cookie
values to plus signs, but failed to adapt `php_setcookie()`

Fix #79174: cookie values with spaces fail to round-trip

The fix for bug #78929 disabled the conversion of spaces in cookie
values to plus signs, but failed to adapt `php_setcookie()`
accordingly, so that it uses raw URL encoding as well.

show more ...


# 1146bdb9 28-Jan-2020 Nikita Popov

Fixed bug #78989

Always operate on copies of the functions, so we don't reference
temporary trait methods that have gone out of scope.

This could be more efficient, but doing an

Fixed bug #78989

Always operate on copies of the functions, so we don't reference
temporary trait methods that have gone out of scope.

This could be more efficient, but doing an allocated copy only when
strictly necessary turned out to be somewhat tricky.

show more ...


# 136f51f1 26-Jan-2020 Christoph M. Becker

Fix #76584: PharFileInfo::decompress not working

We actually have to decompress, when told to do so.


# 5215f072 27-Jan-2020 Remi Collet

- bump zip extension version to 1.15.6
- add ZipArchive::LIBZIP_VERSION
- skip bug53885.phpt with libzip 1.6.0 (empty file is no more valid archive)


# ea1b8788 22-Jan-2020 Máté Kocsis

Fix #78969 Make PASSWORD_DEFAULT match PASSWORD_BCRYPT instead of being null

It was an unintentional BC break.


# fd08f062 17-Jan-2020 Ivan Mikheykin

Fix bug #78323: Code 0 is returned on invalid options

Set CLI exit code to 1 when invalid parameters are passed,
and print error to stderr.


# 32918914 24-Jan-2020 Nikita Popov

Fixed bug #79128

We need to extend the hash table before performing raw append
operations.

This doesn't matter if preloading happens in the same process,
as the tables will

Fixed bug #79128

We need to extend the hash table before performing raw append
operations.

This doesn't matter if preloading happens in the same process,
as the tables will be large enough to hold all entries as a
side-effect of the preloading process. However, if preloading
happens in a different process, we need to reserve space here.

show more ...


# bb5cdd9b 24-Jan-2020 Nikita Popov

Fixed bug #79011

auth_plugin_data_len here is 21, including the trailing null byte.
Directly use SCRAMBLE_LENGTH instead. Also add a sanity check that
the provided scramble is long e

Fixed bug #79011

auth_plugin_data_len here is 21, including the trailing null byte.
Directly use SCRAMBLE_LENGTH instead. Also add a sanity check that
the provided scramble is long enough.

show more ...


# b9dff116 24-Jan-2020 Remi Collet

Add ZipArchive::CM_LZMA2 constant (since libzip 1.6.0)


# 67421a78 16-Dec-2019 liudaixiao

Fixed bug #78902


# db9776c5 23-Jan-2020 Nikita Popov

Fixed bug #79151

Make sure we also NULL out next/prev of the removed element on
pop/shift. This only matter is that element is still being referenced
by an iterator.


# 2eb33818 23-Jan-2020 Nikita Popov

Fixed bug #79155

Make sure we only unset the NULLABLE flag temporarily for class
resolution, as the same type may be compiled multiple types.


# 9be31a58 22-Jan-2020 Christoph M. Becker

Fix #79154: mb_convert_encoding() can modify $from_encoding

We must not modify arrays passed by value.


# 94c9dc49 22-Jan-2020 Christoph M. Becker

Fix #79149: SEGV in mb_convert_encoding with non-string encodings

We must not assume that `hash_entry` `IS_STRING`, but rather use
`encoding_str` which is guaranteed to be.


# 7e2bd95f 22-Jan-2020 Remi Collet

next will be 7.2.28


# 9eff906a 21-Jan-2020 Christoph M. Becker

Fix #79145: openssl memory leak

We must increase the refcount of `return_value` only if `cert` is a
resource; this is already done in `php_openssl_evp_from_zval()`,
though.


# 3046e357 20-Jan-2020 Deus Kane

Fix #79146: cscript can fail to run on some systems

In the buildconf and configure batch files, Windows' cscript utility was being
run without the /e:jscript flag. This works on systems

Fix #79146: cscript can fail to run on some systems

In the buildconf and configure batch files, Windows' cscript utility was being
run without the /e:jscript flag. This works on systems that have not had the
default .js file association changed, but if .js has been re-associated to
(say) an IDE, the batch files fail with the error message:

Input Error: There is no script engine for file extension ".js".

show more ...


# b67fc518 21-Jan-2020 Christoph M. Becker

Update NEWS wrt. sec fixes


# 5c90f8eb 21-Jan-2020 Stanislav Malyshev

Update NEWS


# 74380465 17-Jan-2020 Nikita Popov

Fix bug #79112: IMAP can't find OpenSSL during configure

Remove the check of PHP_OPENSSL inside SETUP_OPENSSL. It's the
responsibility of the caller to determine whether they want to

Fix bug #79112: IMAP can't find OpenSSL during configure

Remove the check of PHP_OPENSSL inside SETUP_OPENSSL. It's the
responsibility of the caller to determine whether they want to
enable openssl or not. This makes SSL detection in IMAP work,
which uses a different option.

Additionally also clarify that --with-openssl-dir cannot actually
be used to specify an OpenSSL directory -- these options just
serve as a way to enable OpenSSL in extensions without also
enabling the OpenSSL extension. They need to be renamed to
something clearer in master.

Closes GH-5091.

show more ...


# 9c2fd55d 20-Jan-2020 Xinchen Hui

Fixed bug #79114 (Eval class during preload causes class to be only half available)


# 07bda97e 17-Jan-2020 Nikita Popov

Fixed bug #79115


# 018251a7 03-Jan-2020 Nikita Popov

Fixed bug #71876

This is a backport of fcdc0a6db0ae63fbed9e3828137b899b844623ce
to the PHP-7.3 branch. We need to make sure that OnUpdateString
is also called for a NULL value, other

Fixed bug #71876

This is a backport of fcdc0a6db0ae63fbed9e3828137b899b844623ce
to the PHP-7.3 branch. We need to make sure that OnUpdateString
is also called for a NULL value, otherwise the reset of the encoding
at the end of the request will not work.

I believe I already tried to land this before once, but it didn't
actually end up on the PHP-7.3 branch due to a push conflict that
I only noticed just now.

show more ...


# 05f3cd23 12-Jan-2020 Christoph M. Becker

Fix #79096: FFI Struct Segfault

We must not assume that the size of a function's return value is at
most `sizeof(ffi_arg)`, but rather have to use the size which already
has been det

Fix #79096: FFI Struct Segfault

We must not assume that the size of a function's return value is at
most `sizeof(ffi_arg)`, but rather have to use the size which already
has been determined for the return type if it is larger than
`sizeof(ffi_arg)`.

To be able to have a regression test, we export the required test
function from the zend-test extension, and make sure that the test
can be run on different platforms regardless of whether zend-tests was
built statically or dynamically.

show more ...


1...<<11121314151617181920>>...472