diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-09-10 21:51:50 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-09-10 21:51:50 +0530 |
commit | 58b930ae216bfa98cd60212b954b07b9963d6d04 (patch) | |
tree | 138f7c7f93f4fb99d0c61dd03c5f1d78c3135f40 /NEWS | |
parent | 71ae86478edc7b21872464f43fb29ff650c1681a (diff) | |
download | glibc-58b930ae216bfa98cd60212b954b07b9963d6d04.tar.gz glibc-58b930ae216bfa98cd60212b954b07b9963d6d04.tar.xz glibc-58b930ae216bfa98cd60212b954b07b9963d6d04.zip |
Return failure in getnetgrent only when all netgroups have been searched (#17363)
The netgroups lookup code fails when one of the groups in the search tree is empty. In such a case it only returns the leaves of the tree after the blank netgroup. This is because the line parser returns a NOTFOUND status when the netgroup exists but is empty. The __getnetgrent_internal implementation needs to be fixed to try remaining groups if the current group is entry. This patch implements this fix. Tested on x86_64. [BZ #17363] * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next group if the current group is empty.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS index 721b457a8b..40e2497eff 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,12 @@ See the end for copying conditions. Please send GNU C library bug reports via <http://sourceware.org/bugzilla/> using `glibc' in the "product" field. +Version 2.21 + +* The following bugs are resolved with this release: + + 17363. + Version 2.20 * The following bugs are resolved with this release: |