[php-src] PR #13938: Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c

From: Date: Wed, 10 Apr 2024 18:41:31 +0000
Subject: [php-src] PR #13938: Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25704@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13938 Author: nielsdos 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.

« previous php.git-pulls (#25704) next »