Anatol Belski
ec0bcecee7
Add RtlSecureZeroMemory to explicit_bzero() compile case
...
just in case one would use the function directly. The use of
ZEND_SECURE_ZERO could be eliminated now, too. Or it can be
kept for BC.
2018-01-26 21:34:31 +01:00
David Carlier
7f51257c08
NetBSD has its own unoptimizable memset version since 2013
...
checking presence of the function if older versions of NetBSD
2018-01-19 18:24:36 +01:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-01-03 14:38:00 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
David Carlier
e835e3c132
Improve explicit_bzero implementation
...
Using the weak symbol explicit_bzero_hook does not work if LTO is
enabled. Instead avoid memset optimizations using an asm memory
barrier.
Use a fallback implementation where the memory is zeroed through
volatile.
2017-12-16 23:07:48 +01:00
Anatol Belski
384f0f8a4c
sync vim mode lines in main
2017-07-09 15:07:23 +02:00
Sammy Kaye Powers
4f70d93d3c
Update copyright header for new file
2017-01-03 08:02:12 -06:00
David Carlier
2464dbd5f3
import explicit_bzero + strlc* functions update
...
since 1999 algorithms have changed and register k/w
not necessary anymore.
2016-10-15 14:53:38 +01:00