about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2012-05-22 13:09:27 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2012-05-22 13:09:27 -0700
commitd44638b0a7fc1f01c3b2153cfa1bbb849f01f217 (patch)
treeefe476718381f08f52e1143702b32b6e7bb9fb21 /ChangeLog
parentda0331a873dbb62462c151c3d824da2f6fe2e770 (diff)
downloadglibc-d44638b0a7fc1f01c3b2153cfa1bbb849f01f217.tar.gz
glibc-d44638b0a7fc1f01c3b2153cfa1bbb849f01f217.tar.xz
glibc-d44638b0a7fc1f01c3b2153cfa1bbb849f01f217.zip
For [BZ#14122], plug memory leaks in nsswitch.c.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b4157079f..159f4f2e93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	[BZ #14122]
+	* nss/nsswitch.c (defconfig_entries): New variable.
+	(__nss_database_lookup): Don't leak defconfig entries.
+	(nss_parse_service_list): Don't leak on error paths.
+	(free_database_entries): New function.
+	(free_defconfig): New function.
+	(free_mem): Move common code to free_database_entries.
+
 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):