diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-11 00:12:40 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-12 13:48:15 +0900 |
commit | ccdf235464297c2ca4c1dea8733a6bad423084d5 (patch) | |
tree | 8b62c2fdfc63c37f15a2eda04a0bed54168e09e9 /src/hostname | |
parent | 4e2a772438c5cd735babc1f39846ae77a42dff7f (diff) | |
download | systemd-ccdf235464297c2ca4c1dea8733a6bad423084d5.tar.gz |
hostname: fix off-by-one issue in gethostname()
gethostname() returns null-terminated hostname.
Fixes #20309 and #20417.
Diffstat (limited to 'src/hostname')
0 files changed, 0 insertions, 0 deletions