[php-src] PR #20736: Fix GH-20733: heap buffer overflow in optimizer

From: Date: Fri, 19 Dec 2025 17:59:52 +0000
Subject: [php-src] PR #20736: Fix GH-20733: heap buffer overflow in optimizer
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34317@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20736 Author: ndossche Some (conditional) jump instructions can be the last one in the op_array, because they can jump to themselves. In those cases i + 1 in the CFG builder can point to outside the op_array because i is already the last opline. To solve this we need to check against the end and prevent setting the successor out of bounds.

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