From 673cb072a4710bd4bf6029a062d2867cca929c43 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 2 Jun 2017 14:54:56 +0200 Subject: 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 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 02a7c41a74..579258f02a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-06-02 Florian Weimer + + * sysdeps/posix/getaddrinfo.c (getcanonname): New function. + (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname. + 2017-06-02 Florian Weimer * malloc/Makefile (routines): Add dynarray_at_failure, -- cgit 1.4.1