getaddrinfo: Always allocate canonical name on the heap
commit673cb072a4710bd4bf6029a062d2867cca929c43
authorFlorian Weimer <fweimer@redhat.com>
Fri, 2 Jun 2017 12:54:56 +0000 (2 14:54 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 2 Jun 2017 12:54:56 +0000 (2 14:54 +0200)
treec5567cdab22481ebc2c9a59442fcb727455f1b9a
parent91b6eb1140eda6bab324821ee3785e5d0ca155b8
getaddrinfo: Always allocate canonical name on the heap

A further simplification could eliminate the canon variable in
gaih_inet and replace it with canonbuf.  However, canonbuf is
used as a flag in the nscd code, which makes this somewhat
non-straightforward.
ChangeLog
sysdeps/posix/getaddrinfo.c