You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
From what I see, it only needs to be checked in the AC_CHECK_FUNCS([memset_explicit]) somewhere - in configure.ac probably and then used conditionally:
#ifdefHAVE_MEMSET_EXPLICIT
...
#else
...
#endif
Except that on Windows, it's probably not available (yet).
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.The text was updated successfully, but these errors were encountered: