summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-11 00:12:40 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-08-12 13:48:15 +0900
commitccdf235464297c2ca4c1dea8733a6bad423084d5 (patch)
tree8b62c2fdfc63c37f15a2eda04a0bed54168e09e9 /src/hostname
parent4e2a772438c5cd735babc1f39846ae77a42dff7f (diff)
downloadsystemd-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