diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-02 14:54:56 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-02 14:54:56 +0200 |
commit | 673cb072a4710bd4bf6029a062d2867cca929c43 (patch) | |
tree | c5567cdab22481ebc2c9a59442fcb727455f1b9a /ChangeLog | |
parent | 91b6eb1140eda6bab324821ee3785e5d0ca155b8 (diff) | |
download | glibc-673cb072a4710bd4bf6029a062d2867cca929c43.tar glibc-673cb072a4710bd4bf6029a062d2867cca929c43.tar.gz glibc-673cb072a4710bd4bf6029a062d2867cca929c43.tar.bz2 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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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, |