]> git.ipfire.org Git - thirdparty/glibc.git/commit
getaddrinfo: Always allocate canonical name on the heap
authorFlorian Weimer <fweimer@redhat.com>
Fri, 2 Jun 2017 12:54:56 +0000 (14:54 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 4 Jan 2018 10:20:00 +0000 (11:20 +0100)
commit1f60575f88769d09c478caa2968b751bca6a90e3
tree102331179f1db6a863a306c30ce597752c6c9199
parent8a4bf46fe7256b2713e568589b89c2275975586c
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.

(cherry picked from commit 673cb072a4710bd4bf6029a062d2867cca929c43)
ChangeLog
sysdeps/posix/getaddrinfo.c