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 /libio/iofgetws_u.c | |
parent | 0bad441c77fa4ff382dd3990542dcf52052b2121 (diff) | |
download | glibc-5d41dadf31bc8a2f9c34c40d52a442d3794e405c.zip glibc-5d41dadf31bc8a2f9c34c40d52a442d3794e405c.tar.gz glibc-5d41dadf31bc8a2f9c34c40d52a442d3794e405c.tar.bz2 |
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 'libio/iofgetws_u.c')
0 files changed, 0 insertions, 0 deletions