From c6dfed243e0310bc3294c0fdf1816fceab024e9b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 22 Oct 2014 13:17:20 -0700 Subject: Rework some nscd code not to use variable-length struct types. --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e7fc13428c..b7eca45fbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2014-10-22 Roland McGrath + + * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than + old GNU extension [0] syntax. + * nscd/nscd_helper.c (open_socket): Use a flexible array member and + alloca rather than an array member with variable length. + * nscd/netgroupcache.c (addgetnetgrentX): Likewise. + * nscd/nscd.c (invalidate_db): New function, broken out of ... + (parse_opt): ... here. Likewise use alloca there. + Validate the -i argument before checking for rootness. + (send_shutdown): New function, broken out of ... + (parse_opt): ... here. + 2014-10-22 Roland McGrath * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL -- cgit v1.2.3