strongswan/src/libstrongswan/utils/utils
Tobias Brunner cf98706bb8 utils: Handle NULL consistently if memwipe() is implemented via explicit_bzero()
Our own implementation ignores NULL values, however, explicit_bzero()
can't handle that, as indicated by the `__nonnull ((1))` attribute in the
function's signature in string.h, and causes a segmentation fault.  This
was noticed in one of the unit tests for NewHope.  Since we usually use
memwipe() via chunk_clear(), which already ignores NULL pointers, this
is not that much of an issue in practice.

Fixes: 149d1bbb05 ("memory: Use explicit_bzero() as memwipe() if available")
2019-10-21 13:58:12 +02:00
..
align.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
align.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
atomics.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
atomics.h atomics: Use type of destination in CAS implementation 2018-07-03 11:31:31 +02:00
byteorder.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
memory.c memory: Use explicit_bzero() as memwipe() if available 2019-08-22 15:04:45 +02:00
memory.h utils: Handle NULL consistently if memwipe() is implemented via explicit_bzero() 2019-10-21 13:58:12 +02:00
object.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
path.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
path.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
status.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
status.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
strerror.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
strerror.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
string.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
string.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
time.c utils: Add helper function to parse time spans from strings 2017-11-02 10:04:03 +01:00
time.h utils: Add helper function to parse time spans from strings 2017-11-02 10:04:03 +01:00
tty.c Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
tty.h Fixed some typos, courtesy of codespell 2019-08-28 14:03:41 +02:00
types.h Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00