Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]
commit1214ba06e6771acb953a190091b0f6055c64fd25
authorMingli Yu <Mingli.Yu@windriver.com>
Thu, 20 Sep 2018 10:02:48 +0000 (20 12:02 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 20 Sep 2018 10:02:48 +0000 (20 12:02 +0200)
tree2d153421a34ad65f7729db9042595e877d18df94
parent791b350dc725545e3f9b5db0f97ebdbc60c9735f
Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]

A NULL value can happen with certain gethostbyname_r failures.
ChangeLog
sysdeps/unix/sysv/linux/gethostid.c