diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-04-29 17:08:06 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-29 17:08:06 +0200 |
commit | 2dce81a319601e1ee110f7316f705b48c5686e72 (patch) | |
tree | a863d43612c09546c2181d076223f63a79fbe0d2 /ChangeLog | |
parent | 72c11b353ede72931cc474c9071d143d9a05c0d7 (diff) | |
download | glibc-2dce81a319601e1ee110f7316f705b48c5686e72.tar.gz glibc-2dce81a319601e1ee110f7316f705b48c5686e72.tar.xz glibc-2dce81a319601e1ee110f7316f705b48c5686e72.zip |
getnameinfo: Refactor and fix memory leak [BZ #19642]
Split getnameinfo into separate functions for host and service lookups, and for different address families.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 5f8424a088..ca96f0933c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2016-04-29 Florian Weimer <fweimer@redhat.com> + + [BZ #19642] + * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric) + (gni_host_inet, gni_host_local, gni_host, gni_serv_inet) + (gni_serv_local, gni_serv): New functions extracted from + getnameinfo. + (getnameinfo): Call gni_host and gni_serv to perform the + processing. Always free scratch buffer. + 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the |