| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This would be either $end or "end of file" depending on bison
version. Explicitly specify "end of command" instead, which seems
more appropriate in context.
|
| | |
| | |
| | |
| | | |
Closes GH-6462.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Drop all JIT related XFAILS from phpdbg test suite
|
| | |
| | |
| | |
| | | |
phpdbg now disables JIT, so these cause XFAIL warnings.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Add additional entries to unserialize corpus
|
| | |
| | |
| | |
| | | |
These are useful to seed typed property fuzzing.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix #76813: Access violation near NULL on source operand
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Fix #76813: Access violation near NULL on source operand
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We avoid `YYCURSOR` becoming `NULL` by initializing `YYMARKER`, and add
a default rule for `<NORMAL>` where we catch unexpected input.
We also fix the only superficially related issue regarding empty input
followed by `T_SEPARATOR` and command, which caused another segfault.
Closes GH-6464.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This testing mode executes the test multiple times in the same
process (but in different requests). It is primarily intended to
catch tracing JIT bugs, but also catches state leaks across
requests.
Closes GH-6365.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Closes GH-6376
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Port the main php_cli_server.inc to use ephemeral ports, thus
allowing CLI server tests to be parallelized.
A complication here is that we also need to give each test a
separate doc root, to avoid index.php files writing over each
other.
Closes GH-6375.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Add test for zend_extension loading
|
| | |
| | |
| | |
| | | |
Closes GH-6363.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Revert "Fix bug #64865: Use CONTEXT_DOCUMENT_ROOT for scanning dir tree"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 98bfad738ad2734dfba5733323f7ba733daf3ec3.
This doesn't work well in some setups, see bug #80113 and GH-5051.
Reverting this for now.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
See GCC bug 69602: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602
which emits the warning for (errno == EWOULDBLOCK || errno == EAGAIN)
which is the correct way of handling errors as the value of EWOULDBLOCK
and EAGAIN is implementation defined.
Therefore introduce a new macro function PHP_IS_TRANSIENT_ERROR()
which handles the case when EWOULDBLOCK and EAGAIN are identical.
Thanks to @twose for the idea.
|
|/ / |
|
| | |
|
| |
| |
| |
| | |
Closes GH-6259
|
| |
| |
| |
| | |
Closes GH-6214.
|
| |
| |
| |
| | |
Closes GH-6166
|
| |
| |
| |
| | |
Closes GH-6173
|
| |
| |
| |
| | |
Closes GH-6167
|
| |
| |
| |
| |
| | |
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
|
| |
| |
| |
| |
| |
| | |
This is an annoying edge case that regularly gets broken. As we're
not aware of significant users of this API, and there are other
ways to hook this, remove support for EXT_NOP.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
mb_ereg can throw now, so we need a dummy frame and need to
free the exception afterwards.
|
| |
| |
| |
| | |
Closes GH-6049.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise the assignment will have the same number as the default arm
which will 1. mis-trigger a breakpoint and 2. mark the line as covered
even when it isn't.
Closes GH-6083
|
| |
| |
| |
| |
| | |
We only have 4 Zend test cases > 8k. Large inputs tend to just
make things slower.
|
| |
| |
| |
| |
| |
| | |
While we limit the size of the main compilation input, the size
of eval inputs was not limited. This could result in stack
overflows, e.g. oss-fuzz #25464.
|
| | |
|
| |
| |
| |
| |
| | |
The combination of LimitIterator and InfiniteIterator can cause
effectively infinite loops that bypass the executor step limit.
|
| |
| |
| |
| | |
Add pfsockopen and stream_socket_server.
|
| |
| |
| |
| |
| |
| |
| | |
On Windows, we have to check whether stdout is attached to a console,
and whether that console supports VT100 control codes.
Closes GH-5996
|
| |
| |
| |
| | |
Opcode handlers use the FASTCALL calling convention...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To perform fast shutdown without full table cleanup we need all
internal functions to be in one continuous chunk. This was
violated when functions were deleted via disable_functions.
This drops the zend_disable_function() API in favor of
zend_disable_functions(), which disables the given list of
functions and performs the necessary rehash afterwards.
Also drop PG(disabled_functions), which is no longer used.
|
| |
| |
| |
| | |
This was supposed to include the header, not the C file...
|
| |
| |
| |
| | |
And add crypt() to the function blacklist, it can be very slow.
|
| |
| |
| |
| |
| |
| |
| | |
This is an end-to-end fuzzer that executes arbitrary PHP code.
We replace the executor with a finite-step executor to avoid
getting stuck in loops or recursion.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The fpm code actually uses aa_change_profile(), not change_hat(). Test
for the correct function. (libapparmor always has both, so this is just
a correctness fix.)
Closes GH-6037.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Apache MIME type map is not actively maintained anymore, so
this switches to jshttp/mime-db, which seems to be the de-facto
standard in this area now. This avoid the need to patch in our
own MIME types over time.
The preference algorithm is based on:
https://github.com/jshttp/mime-types/blob/47b62ac45e9b176a2af35532d0eea4968bb9eb6d/index.js#L154
Closes GH-5764.
|
| |
| |
| |
| |
| |
| |
| | |
The comments were incorrectly aligned. Fix this by dropping the
alignment and moving the comments before the declarations.
Closes GH-5975.
|