[php-src] PR #12648: SAVE_OPLINE before allocating memory

From: Date: Fri, 10 Nov 2023 17:18:31 +0000
Subject: [php-src] PR #12648: SAVE_OPLINE before allocating memory
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-24145@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12648 Author: morrisonlevi If the engine OOMs at these locations, then they may sigsegv instead of doing a fatal error. Additionally, extensions that look at oplines may also crash. Usually, the opline will either be null, or be a non-null pointer to a valid (but wrong) opline. So usually, we do not observe crashes. This is still in draft because we found these through reading opcode handlers, and I want to try to modify the engine to help me find additional cases where it's wrong.

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