diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-27 19:49:51 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-27 19:49:51 +0530 |
commit | dd3022d75e6fb8957843d6d84257a5d8457822d5 (patch) | |
tree | 2a80ab93d6c2b5451fcf470539c70fc5b139a64f /NEWS | |
parent | ea7d8b95e2fcb81f68b04ed7787a3dbda023991a (diff) | |
download | glibc-dd3022d75e6fb8957843d6d84257a5d8457822d5.zip glibc-dd3022d75e6fb8957843d6d84257a5d8457822d5.tar.gz glibc-dd3022d75e6fb8957843d6d84257a5d8457822d5.tar.bz2 |
Return NULL for wildcard values in getnetgrent from nscd (BZ #16759)
getnetgrent is supposed to return NULL for values that are wildcards
in the (host, user, domain) triplet. This works correctly with nscd
disabled, but with it enabled, it returns a blank ("") instead of a
NULL. This is easily seen with the output of `getent netgroup foonet`
for a netgroup foonet defined as follows in /etc/netgroup:
foonet (,foo,)
The output with nscd disabled is:
foonet ( ,foo,)
while with nscd enabled, it is:
foonet (,foo,)
The extra space with nscd disabled is due to the fact that `getent
netgroup` adds it if the return value from getnetgrent is NULL for
either host or user.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ Version 2.20 15347, 15804, 15894, 16002, 16198, 16284, 16357, 16447, 16532, 16545, 16574, 16599, 16600, 16609, 16610, 16611, 16613, 16623, 16632, 16634, 16639, 16642, 16649, 16670, 16674, 16677, 16680, 16683, 16689, 16695, - 16701, 16706, 16707, 16712, 16713, 16714, 16731, 16743, 16758, 16760. + 16701, 16706, 16707, 16712, 16713, 16714, 16731, 16743, 16758, 16759, + 16760. * Running the testsuite no longer terminates as soon as a test fails. Instead, a file tests.sum (xtests.sum from "make xcheck") is generated, |