aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-12 17:27:22 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-12 17:28:13 +0530
commitc44496df2f090a56d3bf75df930592dac6bba46f (patch)
tree8524bc2814c863852dd3622840acc42cb9861326 /ChangeLog
parent27c7220a483bda576533aa9a0a9b42175644b1a1 (diff)
downloadglibc-c44496df2f090a56d3bf75df930592dac6bba46f.zip
glibc-c44496df2f090a56d3bf75df930592dac6bba46f.tar.gz
glibc-c44496df2f090a56d3bf75df930592dac6bba46f.tar.bz2
Provide correct buffer length to netgroup queries in nscd (BZ #16695)
The buffer to query netgroup entries is allocated sufficient space for the netgroup entries and the key to be appended at the end, but it sends in an incorrect available length to the NSS netgroup query functions, resulting in overflow of the buffer in some special cases. The fix here is to factor in the key length when sending the available buffer and buffer length to the query functions.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 21bd621..ef301d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ [BZ #16695]
+ * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
+ key in the buffer.
+
2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC