[Bug 1945072] Re: getaddrinfo crashes on negative answers after Truncated retry

2021-09-28 Thread Christopher K Brown
In trying to do the work requested for the report, it took a different turn. General sequence is still correct, with the following caveat: - our DNS server added a CNAME record to the truncated UDP reply, bringing the size to over 512 bytes The response is well formed, just too big. Since getad

[Bug 1945072] [NEW] getaddrinfo crashes on negative answers after Truncated retry

2021-09-25 Thread Christopher K Brown
Public bug reported: Programs using getaddrinfo will segfault downstack of the call in limited circumstances. We have limited this crash to a specific situation, some of these details may not be relevant to the problem but are included in case they are: - getaddrinfo makes two requests, A and