History log of /php-src/NEWS (Results 1926 – 1950 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# cdfc4d35 17-Jan-2022 Remi Collet

Fix GH-7883 don't close not open file handle
don't create a stream if file is not open

# 69f6b09b 18-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-7902: mb_send_mail may delimit headers with LF only


# 03816fba 18-Jan-2022 Christoph M. Becker

Fix GH-7902: mb_send_mail may delimit headers with LF only

Email headers are supposed to be separated with CRLF. Period.

We introduce a `CRLF` macro for better comprehensibility rig

Fix GH-7902: mb_send_mail may delimit headers with LF only

Email headers are supposed to be separated with CRLF. Period.

We introduce a `CRLF` macro for better comprehensibility right away.

Closes GH-7907.

show more ...

# 8d2ed194 17-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-7896: Environment vars may be mangled on Windows


# 93a3c71e 11-Jan-2022 Christoph M. Becker

Fix GH-7896: Environment vars may be mangled on Windows

When bug 77574[1] has been fixed, the fix only catered to variables
retrieved via `getenv()` with a `$varname` passed, but neither

Fix GH-7896: Environment vars may be mangled on Windows

When bug 77574[1] has been fixed, the fix only catered to variables
retrieved via `getenv()` with a `$varname` passed, but neither to
`getenv()` without arguments nor to the general import of environment
variables into `$_ENV` and `$_SERVER`. We catch up on this by using
`GetEnvironmentStringsW()` in `_php_import_environment_variables()` and
converting the encoding to whatever had been chosen by the user.

[1] <https://bugs.php.net/bug.php?id=75574>

Closes GH-7928.

show more ...

# 79bf39e9 17-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-7875: mails are sent even if failure to log throws exception


# 478edcda 04-Jan-2022 Christoph M. Becker

Fix GH-7875: mails are sent even if failure to log throws exception

We explicitly check for an exception after the logging attempt, and
bail out in that case.

Co-authored-by: Ti

Fix GH-7875: mails are sent even if failure to log throws exception

We explicitly check for an exception after the logging attempt, and
bail out in that case.

Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>

Closes GH-7878.

show more ...

# e31c54d0 07-Jan-2022 Remi Collet

fix GH-7899 Regression in unpack for negative int value

# 1632ebb5 10-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-7867: FFI::cast() from pointer to array is broken


# 703cac33 10-Jan-2022 Christoph M. Becker

Fix GH-7867: FFI::cast() from pointer to array is broken

Casting from pointer to array is special, so we must not fall back to
the general FFI casting. There is a particular issue regar

Fix GH-7867: FFI::cast() from pointer to array is broken

Casting from pointer to array is special, so we must not fall back to
the general FFI casting. There is a particular issue regarding the
size comparison, namely that the pointer size is always 8 for 64bit
architectures, but the size of an array is determined by its
declaration, so as is casting a pointer to an array with more than 8
elements would fail, but casting to an array with less than 9 elements
succeeds, but the internal pointer would point to some arbitrary
memory.

We fix this by properly supporting the cast. An alternative would be
to deny this kind of cast generally, since it is not necessarily safe.
However, FFI isn't necessarily safe anyway.

We also check pointer/array type compatibility when casting.

Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-7876.

show more ...

# be22018f 09-Jan-2022 David Carlier

Fix pcntl_rfork build for DragonFlyBSD

RFTSIGZMB flag unsupported, guarding with the said flag instead of system
in case the implementaion catches up with FreeBSD's.

Closes GH-7

Fix pcntl_rfork build for DragonFlyBSD

RFTSIGZMB flag unsupported, guarding with the said flag instead of system
in case the implementaion catches up with FreeBSD's.

Closes GH-7918.

show more ...

# 48333628 10-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix #81430: Attribute instantiation leaves dangling pointer


# 2f6a06cc 05-Jan-2022 Benjamin Eberlei

Fix #81430: Attribute instantiation leaves dangling pointer

By switching attribute constructor stackframe to be called via
trampoline the stack allocation is not causing dangling pointer

Fix #81430: Attribute instantiation leaves dangling pointer

By switching attribute constructor stackframe to be called via
trampoline the stack allocation is not causing dangling pointers
in the zend_observer API anymore.

Co-Authored-By: Florian Sowade <f.sowade@suora.com>
Co-Authored-By: Christopher Becker <cmbecker69@gmx.de>
Co-Authored-By: Dmitry Stogov <dmitry@zend.com>

Closes GH-7885.

show more ...

# 2b075131 08-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix memory leak on invalid port


# c99a026c 08-Jan-2022 David Carlier

Fix memory leak on invalid port

Closes GH-7911.

# 46bec6de 28-Dec-2021 Stefano Arlandini

Fix the OpenMetrics response format returned by the FPM status page

Closes GH-7843, closes GH-7842

# 4ae75623 04-Jan-2022 Patrick Allaert

Preparing for 8.1.3-dev

# 623b2122 04-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix ext/sockets build on Haiku


# 09165ace 29-Dec-2021 David Carlier

Fix ext/sockets build on Haiku

The `SOCK_RDM` datagram option is unsupported on Haiku; instead `ifreq`
has direct access to `ifr_index`.

Closes GH-7849.

# d70c6983 04-Jan-2022 Gabriel Caruso

Prepare for PHP 8.0.16

# 70b02d75 03-Jan-2022 Jeremie Courreges-Anglas

riscv64 support for fibers

We add riscv64 assembly files from Boost, needed for fibers support,
and hook up riscv64 fibers support during configure.

Closes GH-7879.

# ae9e9864 30-Dec-2021 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix bug where large bigints may be truncated


# b3903515 29-Dec-2021 NathanFreeman <1056159381@qq.com>

Fix bug where large bigints may be truncated

Unless stringified results are requested, we need to parse large
bigints as unsigned, to avoid wrap-around behavior.

Co-authored-by:

Fix bug where large bigints may be truncated

Unless stringified results are requested, we need to parse large
bigints as unsigned, to avoid wrap-around behavior.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-7837.

show more ...

# 8869bbe0 30-Dec-2021 Kamil Tekiela

Fix bug GH-7746 (mysqli_sql_exception->sqlstate is inaccessible)

Closes GH-7747

# d58c48d4 27-Dec-2021 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Revert "Fix zend_observer_fcall_end_all() accessing dangling pointers"


1...<<71727374757677787980>>...619