forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
sync #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
sync #13
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes oss-fuzz #41670
* PHP-8.0: Fix refcount inferemce ($a += $a returns old array with RCN)
* PHP-8.1: Fix refcount inferemce ($a += $a returns old array with RCN)
Fixes oss-fuzz #41692
* PHP-8.1: Fix use after free because of data clobbering by user error handler
Fixes oss-fuzz #41995
* PHP-8.0: JIT: Fix incorrect elimination of type store
* PHP-8.1: JIT: Fix incorrect elimination of type store
Fixez oss-fuzz #42049
* PHP-8.0: Fixed incorrect DCE of a constructor call
* PHP-8.1: Fixed incorrect DCE of a constructor call
* PHP-8.0: Fix #75917: SplFileObject::seek broken with CSV flags
* PHP-8.1: Fix #75917: SplFileObject::seek broken with CSV flags
This is the same change as 56b18d4 but for ASSIGN_OP. Changing the operand type may change the error message and can result in different behavior with operator overloading. As with the other patch, if there is strong interest this could be added to the DFA pass instead, with an appropriate type check.
* PHP-8.1: Don't convert assign op operand types in opcache
* PHP-8.1: Separate "cold" code
For some reason, this test fails now with "Incorrect syntax near ''. [SELECT '�' as test FROM test WHERE id = '1']", so we skip it.
* PHP-8.0: Skip bug_36798.phpt for PDO_DBLIB
* PHP-8.1: Skip bug_36798.phpt for PDO_DBLIB
Now we flush only delayed opcodes realted to this nullsafe operator. Fixes oss-fuzz #42152
* PHP-8.1: Fix crush after compilation of nullsafe operator introduced in 307e476
Fixes oss-fuzz #42155
* PHP-8.0: Fix incorrect JMP optimization
* PHP-8.1: Fix incorrect JMP optimization
The amount of allocated system memory is kept in `real_size`, including the allocated `cached_chunks`. Thus, we need to keep the proper count at the end of the shutdown. Closes GH-7745.
* PHP-8.0: Fix #81585: cached_chunks are not counted to real_size on shutdown
* PHP-8.1: Fix #81585: cached_chunks are not counted to real_size on shutdown
* PHP-8.0: zend gdb detection fix on FreeBSD.
* PHP-8.1: zend gdb detection fix on FreeBSD.
for systems using SO_PASSCRED sockopt flag but not using ucred struct.
* PHP-8.0: socket: ancillary credentials build fix for non linux systems.
* PHP-8.1: socket: ancillary credentials build fix for non linux systems.
* PHP-8.0: socket cmsg credential test fixes, "backporting" from the FreeBSD PR.
* PHP-8.1: socket cmsg credential test fixes, "backporting" from the FreeBSD PR.
When converting text to/from wchars, mbstring makes one function call for each and every byte or wchar to be converted. Typically, each of these conversion functions contains a state machine, and its state has to be restored and then saved for every single one of these calls. It doesn't take much to see that this is grossly inefficient. Instead of converting one byte or wchar on each call, the new conversion functions will either fill up or drain a whole buffer of wchars on each call. In benchmarks, this is about 3-10× faster. Adding the new, faster conversion functions for all supported legacy text encodings still needs some work. Also, all the code which uses the old-style conversion functions needs to be converted to use the new ones. After that, the old code can be dropped. (The mailparse extension will also have to be fixed up so it will still compile.)
This allows elimination of some Z_ISUNDEF(Bucket->val) checks.
* PHP-8.1: Fix the value param of SimpleXMLElement::addAttribute()
* PHP-8.0: $context parameter of get_headers() is nullable
* PHP-8.1: $context parameter of get_headers() is nullable
PHP 8.0 bumped the min curl version to 7.29.0 Closes GH-7805.
* PHP-8.0: [ci skip] Update the min curl version in the sync-constants.php script
* PHP-8.1: [ci skip] Update the min curl version in the sync-constants.php script
This is a tiny improvement to run-tests.php which helps keep it from tripping over hidden files, including autosave files from various editors, metadata on certain platforms, etc. Closes GH-7783.
On NetBSD, ifconf.ifc_buf member, unlike most of platforms, is a void pointer. We also fix the cpuinfo declarations with empty parameter lists. Closes GH-7819.
* PHP-8.0: Avoid void* arithmetic in sockets/multicast.c on NetBSD
* PHP-8.1: Avoid void* arithmetic in sockets/multicast.c on NetBSD
While the `path` is not supposed to be `NULL` for normal operation, it is possible to create `SplFileInfo` objects where that is the case, and we must not follow the null pointer. Closes GH-7814.
* PHP-8.1: Fix GH-7809: Cloning a faked SplFileInfo object may segfault
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.