CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/06/22 02:23:47

Modified files:
        lib/libc/asr   : getaddrinfo_async.c gethostnamadr_async.c 

Log message:
Reject empty CNAMEs in gethostbyname(3) / getaddrinfo(3).

An empty string is arguably not a correct hostname (even though
res_hnok accepts it). More worrisome though is software not expecting
this and making mistakes. In practice this cannot happen unless the
resolver lies to us.

OK deraadt, jca

Reply via email to