[php-src] Issue #15483: Use C23 memset_explicit() for ZEND_SECURE_ZERO() if available
| From: | Girgias | Date: | Sun, 18 Aug 2024 13:56:15 +0000 |
| Subject: | [php-src] Issue #15483: Use C23 memset_explicit() for ZEND_SECURE_ZERO() if available | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247524@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15483
Author: Girgias
### Description
This new function is designed to never be optimized away by a compiler.
I think this needs some configure checks, which I never know how to do. @petk do you know if
anything fancy needs to be done?
We probably also want to amend the implementation of
php_explicit_bzero() to use this
if available.