about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-03-20 15:05:25 +0100
committerAndreas Schwab <schwab@suse.de>2014-03-24 16:51:53 +0100
commita071766ebfd853179ac39f9773f894029bf86d36 (patch)
tree4c681c9798c67c68d7c09b8e09ee33fd4a96c37b /NEWS
parent27c673b8de3072caf35bc795aa1cd77a7ca18771 (diff)
downloadglibc-a071766ebfd853179ac39f9773f894029bf86d36.tar.gz
glibc-a071766ebfd853179ac39f9773f894029bf86d36.tar.xz
glibc-a071766ebfd853179ac39f9773f894029bf86d36.zip
Fix use of half-initialized result in getaddrinfo when using nscd (bug 16743)
This fixes a bug in the way the results from __nscd_getai are collected:
for every returned result a new entry is first added to the
gaih_addrtuple list, but if that result doesn't match the request this
entry remains uninitialized.  So for this non-matching result an extra
result with uninitialized content is returned.

To reproduce (with nscd running):

	$ getent ahostsv4 localhost
	127.0.0.1       STREAM localhost
	127.0.0.1       DGRAM
	127.0.0.1       RAW
	(null)          STREAM
	(null)          DGRAM
	(null)          RAW
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 94183905c0..a5540f133d 100644
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,8 @@ Version 2.20
 
   15347, 15804, 15894, 16002, 16284, 16447, 16532, 16545, 16574, 16600,
   16609, 16610, 16611, 16613, 16623, 16632, 16639, 16642, 16649, 16670,
-  16674, 16677, 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16731.
+  16674, 16677, 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16731,
+  16743.
 
 * Running the testsuite no longer terminates as soon as a test fails.
   Instead, a file tests.sum (xtests.sum from "make xcheck") is generated,