CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/06 06:00:15
Modified files:
lib/libc/asr : gethostnamadr_async.c
Log message:
when getnetby*(3) family were refactored by schwarze in 2018 as a
wrapper on gethostby*(3), the ip address in the structure was
mistakenly considered a pointer to an ip address, and a dereference
was attempted. The long survival of this bug tells us that
getnetby*(3) is used extremely rarely. In fact it was noticed by
afresh1@ on a strict-alignment architecture which inspected a HOST
with an odd ip address (byte order can also matter)
ok millert