History log of /php-src/NEWS (Results 201 – 225 of 14907)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# d98a45d0 19-Dec-2023 David Carlier

ext/pgsql: pgsql.allow_persistent, no need to use such large type for boolean state.

also ext/odbc, simplifying odd comparison with non persistent connections.

Close GH-12976


# 5f69232b 23-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Revert "Fix crashes with entity references and predefined entities"

This reverts commit 3fa5af8496bdbc74e24828b790e4acfd6a26f0d4.


# 3fa5af84 22-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crashes with entity references and predefined entities

There's two issues here:
- freeing of predefined entity declaration crashes (unique to 8.3 & master)
- using multiple entit

Fix crashes with entity references and predefined entities

There's two issues here:
- freeing of predefined entity declaration crashes (unique to 8.3 & master)
- using multiple entity references for a single entity declaration crashes
(since forever)

The fix for the last issue is fairly easy to do on 8.3, but may require a
slightly different approach on 8.2. Therefore, for now this is 8.3-only.

Closes GH-13004.

show more ...


# 8e8d5ce2 22-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crash in adoptNode with attribute references

I forgot to also update the document reference of attributes, so when
there is no document reference anymore from a variable, but still a

Fix crash in adoptNode with attribute references

I forgot to also update the document reference of attributes, so when
there is no document reference anymore from a variable, but still an
attribute, this can crash. Fix it by also updating the document
references for attributes.

Closes GH-13002.

show more ...


# b2d778c3 22-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crash when toggleAttribute() is used without a document


# 6a447e74 15-Dec-2023 David Carlier

GH-12943 ext/intl accept C as acceptable locale argument.

Close GH-12955


# b3f483db 21-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12980: tidynode.props.attribute is missing "Boolean Attributes" and empty attributes

Closes GH-12993.


# 08b11e8e 22-Dec-2023 Peter Kokot

[skip ci] Update NEWS so it includes only PHP-8.4 relevant changes


# de5557b0 22-Dec-2023 Peter Kokot

Add cross-compiling 3rd argument to AC_RUN_IFELSE

Autotools emits warning if 3rd argument is empty. Call is wrapped in the
AC_CACHE_CHECK with php_cv_* cache variable name according to t

Add cross-compiling 3rd argument to AC_RUN_IFELSE

Autotools emits warning if 3rd argument is empty. Call is wrapped in the
AC_CACHE_CHECK with php_cv_* cache variable name according to the docs.

Closes GH-12966

show more ...


# b3331644 18-Dec-2023 SakiTakamachi

Fix GH-12969: Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES

Partial backport of GH-12793.

Closes GH-12970.


# a2068ef4 22-Dec-2023 David Carlier

Fix GH-12999: zend_strnlen build fix when platform misses strnlen support.

fix from @rainerjung


# 48ebe588 20-Dec-2023 Jakub Zelenka

Implement request #48520: openssl_csr_new should allow multiple values/fields in dn

Closes GH-12984


# e8fde6bd 19-Dec-2023 Jakub Zelenka

Fix bug #80269: OpenSSL sets Subject wrong with extraattribs parameter

Closes GH-12979


# 7c4763ab 21-Dec-2023 Jakub Zelenka

Fix GH-12987: openssl_csr_sign might leak new cert on error

Closes GH-12988


# 94ddc74c 21-Dec-2023 Jorg Adam Sowa

RFC: Add 4 new rounding modes to round() function (#12056)

https://wiki.php.net/rfc/new_rounding_modes_to_round_function

Co-authored-by: Tim Düsterhus <tim@bastelstu.be>


# c727f299 08-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12905: FFI::new interacts badly with observers

Because these functions are copied and not properly registered (which we
can't), the observer code doesn't add the temporaries on st

Fix GH-12905: FFI::new interacts badly with observers

Because these functions are copied and not properly registered (which we
can't), the observer code doesn't add the temporaries on startup.
Add them via a callback during startup.

Closes GH-12906.

show more ...


# 7585cf69 14-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12953: SSA integrity verification failed when loading composer classmaps with more than 11k elements

This is a false positive. The cycle detection code stops at 10.000
iterations.

Fix GH-12953: SSA integrity verification failed when loading composer classmaps with more than 11k elements

This is a false positive. The cycle detection code stops at 10.000
iterations. Instead of stopping at a fixed amount, make it more robust
by implementing Floyd's cycle detection algorithm.

Closes GH-12954.

show more ...


# 933dccb7 25-Nov-2023 SakiTakamachi

Fix GH-12767: Fixed to be able to change autocommit mode using setAttribute

Signed-off-by: Gina Peter Banyard <girgias@php.net>


# f75931ad 12-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12929: SimpleXMLElement with stream_wrapper_register can segfault

Move SimpleXML invalidation code after node checks

This is safe, i.e. the tree hasn't been modified yet, bec

Fix GH-12929: SimpleXMLElement with stream_wrapper_register can segfault

Move SimpleXML invalidation code after node checks

This is safe, i.e. the tree hasn't been modified yet, because either we
didn't call a libxml modification function yet, or xmlNewChild is called
with a NULL pointer, which makes it bail out and return NULL.

Closes GH-12947.

show more ...


# abf4c116 12-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash

Closes GH-12945.


# a6d17bff 17-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12962: Double free of init_file in phpdbg_prompt.c

See GH-12962 for analysis.

Closes GH-12963.


# 40ccc8ea 10-Dec-2023 Jakub Zelenka

Fix GH-9698: stream_wrapper_register crashes with FFI\CData provided as class

Closes GH-12926


# 7cf1a2ad 12-Dec-2023 Ilija Tovilo

Fix SELinux mprotect execheap error due to mem adjacent to heap

It seems SELinux has a bug where memory directly adjacent to the heap is
interpreted as heap memory. Dodge this issue by l

Fix SELinux mprotect execheap error due to mem adjacent to heap

It seems SELinux has a bug where memory directly adjacent to the heap is
interpreted as heap memory. Dodge this issue by leaving some space between the
heap and memory suggested by find_prefered_mmap_base.

See GH-12932
See https://bugzilla.kernel.org/show_bug.cgi?id=218258
Closes GH-12942

show more ...


# 2b8c0085 11-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12936: hash() function hangs endlessly if using sha512 on strings >= 4GiB

There's two problems:
- Some loops used `unsigned int` instead of `size_t`.
- The 2*N-bit addition th

Fix GH-12936: hash() function hangs endlessly if using sha512 on strings >= 4GiB

There's two problems:
- Some loops used `unsigned int` instead of `size_t`.
- The 2*N-bit addition that is emulated using 2 N bit numbers has a bug:
it first truncated the number to 32/64 bit and only then shifted. This
resulted in the wrong length info stored inside the resulting hash.

Closes GH-12937.

show more ...


# 623da038 08-Dec-2023 Ilija Tovilo

Fix zend_jit_undefined_long_key overwriting dim when dim == result

Fixes oss-fuzz #64727
Closes GH-12900


12345678910>>...597