Comment 10 for bug 1057526

Revision history for this message
In , Greg Hudson (ghudson) wrote :

Created attachment 6913
Candidate fix 2

This updated patch is more consistent with how other branches of the function set canon.

I believe h->h_name should still be valid by the time canon is used at the end of the function, because it lives in tmpbuf just like it does in the gethostbyname4_r case.