1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 14:12:38 +02:00
Files
archived-php-src/main
Niels Dossche c3acfb1b57 Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c
In the test cases, the compiler bails out due to a fatal error.
The data structures used by the compiler will contain stale values.
In particular, for the test case CG(loop_var_stack) will contain data.
The next compilation will incorrectly use elements from the previous
stack.
To solve this, we reset part of the compiler data structures.
We don't do a full re-initialization via init_compiler() because that will
also reset streams and resources.

Closes GH-13938.
2024-04-15 19:39:05 +02:00
..
2023-09-24 15:19:02 +01:00
2022-09-29 15:15:40 +02:00
2022-07-19 10:27:38 +01:00
2023-02-14 11:00:20 +00:00
2022-08-29 22:34:48 +01:00
2022-08-29 22:34:48 +01:00
2021-08-02 15:59:26 +02:00
2021-11-24 16:13:34 +03:00