diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-01-27 11:32:44 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-01-27 11:32:44 +0530 |
commit | af37a8a3496327a6e5617a2c76f17aa1e8db835e (patch) | |
tree | 20fcea9ef0d2c17620c801b4c990259565cce399 /ChangeLog | |
parent | 0c00f062dd97e4ebb3244147fc5af962aba53c7e (diff) | |
download | glibc-af37a8a3496327a6e5617a2c76f17aa1e8db835e.zip glibc-af37a8a3496327a6e5617a2c76f17aa1e8db835e.tar.gz glibc-af37a8a3496327a6e5617a2c76f17aa1e8db835e.tar.bz2 |
Avoid undefined behaviour in netgroupcache
Using a buffer after it has been reallocated is undefined behaviour,
so get offsets of the triplets in the old buffer before reallocating
it.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com> + + * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from + the old buffer before realloc. + 2014-01-27 Allan McRae <allan@archlinux.org> * po/fr.po: Update French translation from translation project. |