]> granicus.if.org Git - php/commit
Avoid overflow in mul range calculation
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 20 Jun 2019 07:57:55 +0000 (09:57 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 20 Jun 2019 07:57:55 +0000 (09:57 +0200)
commit117c7b3f65c6e884f14e1e71cda340a3becbed48
treeccff616be6c7cb7bdd882a966b35aebb5b8b73f5
parent3a97b8b4f9f8ab20e9e62b9f63f95d167e308c20
Avoid overflow in mul range calculation

By using ZEND_SIGNED_MULTIPLY_LONG, which already implemented
efficient overflow checking logic.
ext/opcache/Optimizer/zend_inference.c