summaryrefslogtreecommitdiff
path: root/src/core/bpf-devices.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 11:26:54 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 16:31:20 +0100
commit5ea173a91b2093664a9ebb9add678edd6f5d1efd (patch)
tree58e067652d59e7ec41ad2e3e170eea8991a6f304 /src/core/bpf-devices.c
parent0f3c342903d1a09577378912717539b530af1fcf (diff)
downloadsystemd-5ea173a91b2093664a9ebb9add678edd6f5d1efd.tar.gz
strv: Make sure strv_make_nulstr() always returns a valid nulstr
strv_make_nulstr() is documented to always return a valid nulstr, but if the input is `NULL` we return a string terminated with only a single NUL terminator, so let's fix that and always terminate the resulting string with two NUL bytes.
Diffstat (limited to 'src/core/bpf-devices.c')
0 files changed, 0 insertions, 0 deletions