]> git.ipfire.org Git - thirdparty/systemd.git/commit
string-util: introduce explicit_zero_safe() 10510/head
authorLennart Poettering <lennart@poettering.net>
Wed, 24 Oct 2018 19:00:15 +0000 (21:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 24 Oct 2018 19:00:15 +0000 (21:00 +0200)
commit87f54463117654af48d6027986c2b21831d41616
tree39c85be4d15ebf142c380a1fe4881ca4bc0ba4da
parent7388cea30d676c4c2f8cb803f28d16470b35d015
string-util: introduce explicit_zero_safe()

The only real difference is that this wrapper can deal with NULL
pointer arguments, but only if the length is also zero.

CID 1396277
src/basic/string-util.c
src/basic/string-util.h
src/reply-password/reply-password.c
src/shared/ask-password-api.c
src/tty-ask-password-agent/tty-ask-password-agent.c