[php-src] PR #15741: ext/bcmath: Added `CHECK_SCALE_OVERFLOW`

From: Date: Wed, 04 Sep 2024 04:14:34 +0000
Subject: [php-src] PR #15741: ext/bcmath: Added `CHECK_SCALE_OVERFLOW`
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28394@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15741 Author: SakiTakamachi In calculations and comparisons using constructor and method arguments, and operators, scale of the original value, rather than the "calculation result," may exceed INT_MAX from the beginning. Therefore, when converting a value to a bc_num structure, check that scale does not exceed INT_MAX.

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