about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-06-02 14:54:56 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-06-02 14:54:56 +0200
commit673cb072a4710bd4bf6029a062d2867cca929c43 (patch)
treec5567cdab22481ebc2c9a59442fcb727455f1b9a /ChangeLog
parent91b6eb1140eda6bab324821ee3785e5d0ca155b8 (diff)
downloadglibc-673cb072a4710bd4bf6029a062d2867cca929c43.tar.gz
glibc-673cb072a4710bd4bf6029a062d2867cca929c43.tar.xz
glibc-673cb072a4710bd4bf6029a062d2867cca929c43.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 02a7c41a74..579258f02a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-06-02  Florian Weimer  <fweimer@redhat.com>
 
+	* sysdeps/posix/getaddrinfo.c (getcanonname): New function.
+	(gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
+
+2017-06-02  Florian Weimer  <fweimer@redhat.com>
+
 	* malloc/Makefile (routines): Add dynarray_at_failure,
 	dynarray_emplace_enlarge, dynarray_finalize.
 	(tests-internal): Add tst-dynarray, tst-dynarray-fail,