aboutsummaryrefslogtreecommitdiff
path: root/libio/test-freopen.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-01-24 13:51:15 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-01-24 13:51:15 +0530
commit5d41dadf31bc8a2f9c34c40d52a442d3794e405c (patch)
tree1033a8751da91bf20f3f870374fb15fe76aa797b /libio/test-freopen.c
parent0bad441c77fa4ff382dd3990542dcf52052b2121 (diff)
downloadglibc-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/test-freopen.c')
0 files changed, 0 insertions, 0 deletions