aboutsummaryrefslogtreecommitdiff
path: root/elf/circlemod2.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-07 00:51:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-07 00:51:17 +0200
commit507fe02799e7dbaba9ebaf3264731fc3b928ba77 (patch)
tree5573377298259c7dd56e105b725aadaaa5ccd1d2 /elf/circlemod2.c
parent7bbbb4b9f7033be9ffbaf691d886b23b363bcf53 (diff)
downloadglibc-507fe02799e7dbaba9ebaf3264731fc3b928ba77.zip
glibc-507fe02799e7dbaba9ebaf3264731fc3b928ba77.tar.gz
glibc-507fe02799e7dbaba9ebaf3264731fc3b928ba77.tar.bz2
hurd: fix gethostname(NULL, 0)
* hurd/get-host.c (_hurd_get_host_config): Also check that more == 0 before assuming that the file is empty. Avoid testing buffer content when nread == 0.
Diffstat (limited to 'elf/circlemod2.c')
0 files changed, 0 insertions, 0 deletions