From fa67ba06ee07845a2bac34afa609ee2bbb1e017e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 1 Aug 2018 13:22:16 -0700 Subject: regex: fix memory leak in Gnulib Problem and fix reported by Assaf Gordon in: https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and range_ends members too, as they are defined in 'struct re_charset_t' even if not _LIBC. This affects only Gnulib. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 20d61ee5aa..dc3a4457a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2018-08-01 Paul Eggert + + regex: fix memory leak in Gnulib + Problem and fix reported by Assaf Gordon in: + https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt + * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and + range_ends members too, as they are defined in 'struct + re_charset_t' even if not _LIBC. This affects only Gnulib. + 2018-08-01 H.J. Lu * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to -- cgit v1.2.3