From e4d5d434247b720a3f78e1f7279168b5e6bf628e Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 29 Aug 2011 16:20:19 +0000 Subject: Save strings we're expanding in case an embedded eval causes them to be freed (if they're the value of a variable that's reset for example). See Savannah patch #7534 --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 84ba7a2..09f657a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-08-29 Paul Smith + + * expand.c (variable_expand_string): Always allocate a new buffer + for a string we're expanding. The string we're working on can get + freed while we work on it (for example if it's the value of a + variable which modifies itself using an eval operation). + See Savannah patch #7534 for the original report by Lubomir Rintel. + 2011-06-12 Paul Smith * read.c (parse_file_seq): Move the check for empty members out of -- cgit v1.2.3