CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/06/23 05:36:36

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

Log message:
Check for errors returned by _asr_unpack_{header,query,rr}

dname_expand() is the main parsing function for DNS labels. Its errors
are propagated via unpack_dname() to _asr_unpack_query() and
_asr_unpack_rr().

Those two functions would also propagate the errors, but they were
then ignored by the callers which would continue parsing invalid DNS
data.

_asr_unpack_header has the same issue but the call chain is shorter.

input & OK deraadt

Reply via email to