[php-src] PR #23185: Clamp scale in bc_is_zero_for_scale to n_scale

From: Date: Sun, 09 Aug 2026 14:32:36 +0000
Subject: [php-src] PR #23185: Clamp scale in bc_is_zero_for_scale to n_scale
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37704@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23185 Author: iliaal bc_is_zero_for_scale walked n_len+scale digits without clamping scale to n_scale. Opposite-sign Number::compare with an explicit scale can call it when one operand is shorter, reading past the digit buffer. Match bc_is_near_zero and clamp first.

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