diff options
| author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-04-30 11:57:09 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-04-30 11:57:09 +0530 |
| commit | 1cdeb2372ddecac0dfe0c132a033e9590ffa07d2 (patch) | |
| tree | e0265a463391655f3b8fa068b1578ec5e2d11ad0 /ChangeLog | |
| parent | 16b293a7a6f65d8ff348a603d19e8fd4372fa3a9 (diff) | |
| download | glibc-1cdeb2372ddecac0dfe0c132a033e9590ffa07d2.tar.xz glibc-1cdeb2372ddecac0dfe0c132a033e9590ffa07d2.zip | |
Consolidate code to initialize nscd dataset header
This patch consolidates the code to initialize the header of a dataset
into a single set of functions (one for positive and another for
negative datasets) primarily to reduce repetition of code. The
secondary reason is to simplify Patch 2/2 which fixes the problem of
an uninitialized byte in the header by initializing an unused field in
the structure and hence preventing a possible data leak into the cache
file.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,4 +1,18 @@ 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com> + + * nscd/nscd-client.h (datahead_init_common, datahead_init_pos, + datahead_init_neg): New functions. + * nscd/aicache.c (addhstaiX): Use them. + * nscd/grpcache.c (cache_addgr): Likewise. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/netgroupcache.c (do_notfound): Likewise. + (addgetnetgrentX): Likewise. + (addinnetgrX): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. + +2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com> Atsushi Onoe <atsushi@onoe.org> [BZ #14308] |
