diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-01-24 13:51:15 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-01-24 13:51:15 +0530 |
commit | 5d41dadf31bc8a2f9c34c40d52a442d3794e405c (patch) | |
tree | 1033a8751da91bf20f3f870374fb15fe76aa797b /ChangeLog | |
parent | 0bad441c77fa4ff382dd3990542dcf52052b2121 (diff) | |
download | glibc-5d41dadf31bc8a2f9c34c40d52a442d3794e405c.tar.gz glibc-5d41dadf31bc8a2f9c34c40d52a442d3794e405c.tar.xz glibc-5d41dadf31bc8a2f9c34c40d52a442d3794e405c.zip |
Adjust pointers to triplets in netgroup query data (BZ #16474)
The _nss_*_getnetgrent_r query populates the netgroup results in the allocated buffer and then sets the result triplet to point to strings in the buffer. This is a problem when the buffer is reallocated since the pointers to the triplet strings are no longer valid. The pointers need to be adjusted so that they now point to strings in the reallocated buffer.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0f4453ec7f..1d19695a17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com> + + [BZ #16474] + * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet + string pointers after reallocation. + 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and |