History log of /PHP-7.4/ (Results 226 – 250 of 92142)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9f7e8b7711-Mar-2021 Christoph M. Becker

Fix #80852: Stack-overflow when json_encode()'ing SimpleXMLElement

We ignore `XML_ENTITY_DECL` nodes when getting the hash of the
properties of a `SimpleXMLElement`.

c0ae3a7f22-Apr-2021 Christoph M. Becker

Fix #80901: Info leak in ftp extension

We ensure that inbuf is NUL terminated on `ftp_readline()` failure.

Closes GH-6894.

7f9183ce26-Apr-2021 Christoph M. Becker

Fix typo in NEWS

97f8ca5225-Apr-2021 George Peter Banyard

Fix Bug #80972: Memory exhaustion on invalid string offset

Closes GH-6909

a277129619-Apr-2021 Christoph M. Becker

Export gzfwrite()

Extensions calling `gzfwrite()` cannot be built when linked against
php.dll (built with zlib support) otherwise.

Closes GH-6880.

39ddf6b823-Apr-2021 Christoph M. Becker

Fix #67792: HTTP Authorization schemes are treated as case-sensitive

We use `zend_binary_strncasecmp()` to avoid any locale issues, and
refactor. We also add a test case for Digest auth

Fix #67792: HTTP Authorization schemes are treated as case-sensitive

We use `zend_binary_strncasecmp()` to avoid any locale issues, and
refactor. We also add a test case for Digest authentication.

Closes GH-6900.

show more ...

054fad6d21-Apr-2021 David Rans

PHPDBG: fix bug parsing 3-word opcodes

PHPDBG won't parse opcodes correctly if they are more than two words
separated by underscores (as many opcodes, like ZEND_POST_INC, are).

PHPDBG: fix bug parsing 3-word opcodes

PHPDBG won't parse opcodes correctly if they are more than two words
separated by underscores (as many opcodes, like ZEND_POST_INC, are).

Now opcodes that have more than one underscore (e.g. ZEND_POST_INC) are
parsed correctly.

Closes GH-6895.

show more ...

1fcea24e20-Apr-2021 Christoph M. Becker

Fix php_pgsql_fd_cast() wrt. php_stream_can_cast()

`php_stream_can_cast()` forwards to `_php_stream_cast()` with `ret` set
to `NULL`. `php_pgsql_fd_cast()` needs to cater to that, becau

Fix php_pgsql_fd_cast() wrt. php_stream_can_cast()

`php_stream_can_cast()` forwards to `_php_stream_cast()` with `ret` set
to `NULL`. `php_pgsql_fd_cast()` needs to cater to that, because
otherwise the stream would report that it is not castable.

This *might* fix https://bugs.php.net/73903.

Closes GH-6888.

show more ...

263f14ac20-Apr-2021 Christoph M. Becker

Fix misleading error message

Closes GH-6889.

ea3c992b19-Apr-2021 Christoph M. Becker

Fix #80960: opendir() warning wrong info when failed on Windows

Firstly, we must not forget to set appropriate error codes for "manual"
checks in `virtual_file_ex()`.

Secondly,

Fix #80960: opendir() warning wrong info when failed on Windows

Firstly, we must not forget to set appropriate error codes for "manual"
checks in `virtual_file_ex()`.

Secondly, we must not call `php_error_docref2()` for warnings regarding
unary functions; thus, we introduce `php_win32_docref1_from_error()`.

Closes GH-6872.

show more ...

0071c7ed16-Apr-2021 Christoph M. Becker

Update php_version.h

c0b1bdcd15-Apr-2021 twosee

Fixed bug #80929

The function name should be kept if Closure was created from the function which is marked as ZEND_ACC_CALL_VIA_TRAMPOLINE, because it is not a one-time thing and it may be c

Fixed bug #80929

The function name should be kept if Closure was created from the function which is marked as ZEND_ACC_CALL_VIA_TRAMPOLINE, because it is not a one-time thing and it may be called multiple times.

Closes GH-6867.

show more ...

7c6cf09413-Apr-2021 twosee

Fixed bug #80900

SCCP optimization marks the wrong target feasible when the constant is of the incorrect type.

Closes GH-6861.

976e71a213-Apr-2021 Christoph M. Becker

Fix #80933: SplFileObject::DROP_NEW_LINE is broken for NUL and CR

`buf` may contain NUL bytes, so we must not use `strcspn()` but rather
a binary safe variant. However, we also must not

Fix #80933: SplFileObject::DROP_NEW_LINE is broken for NUL and CR

`buf` may contain NUL bytes, so we must not use `strcspn()` but rather
a binary safe variant. However, we also must not detect a stray CR as
line ending, and since we only need to check line endings at the end
of the buffer, we can nicely optimize.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

Closes GH-6836.

show more ...

5ccb5fd925-Mar-2021 David Carlier

Fix return type of sparc atomic helper

Closes GH-6808.

f99926f513-Apr-2021 Derick Rethans

Put back inadvertedly removed NEWS entries

8e48895f13-Apr-2021 Derick Rethans

Prepare for 7.4.19

d4f7e8ce13-Apr-2021 Derick Rethans

Prepare NEWS for 7.4.18RC1

a1fdfa7012-Apr-2021 Nikita Popov

Fixed bug #80950

Function info for curl_exec() incorrect specified that the
function cannot return true. This is already fixed in PHP 8,
as the func info entry was removed there.

0a36d41709-Apr-2021 Christoph M. Becker

Fix #79812: Potential integer overflow in pcntl_exec()

We use the proper type, and make sure that no overflow can occur by
using `safe_emalloc()` (we can assume that neither string lengt

Fix #79812: Potential integer overflow in pcntl_exec()

We use the proper type, and make sure that no overflow can occur by
using `safe_emalloc()` (we can assume that neither string length is
`SIZE_MAX`).

Closes GH-6845.

show more ...

a04fac8410-Apr-2021 David Carlier

Disable ifunc support on openbsd

Enabling it leads to segfault when resolvers are used e.g.
php_stripslashes.

Closes GH-6851.

600402d907-Apr-2021 fishmore <37470985+bigboysun@users.noreply.github.com>

Update zend_alloc.c

Don't free main thunk. It will crash.

340a067712-Apr-2021 Matteo Beccati

Fix #80892: PDO::PARAM_INT is treated the same as PDO::PARAM_STR

da3a807f11-Apr-2021 Matteo Beccati

Increased test compatibility

The test expects no masked signals at the beginning, but when run as part
of a Bamboo build, SIGQUIT is already masked and the test fails.

454d297511-Apr-2021 Nikita Popov

Fix gidlist allocation leak on error

12345678910>>...3686