summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-08-29 16:20:19 +0000
committerPaul Smith <psmith@gnu.org>2011-08-29 16:20:19 +0000
commite4d5d434247b720a3f78e1f7279168b5e6bf628e (patch)
treee3743fa9a60722d0b22116d8a170d376fa0b251e /ChangeLog
parentb06b8c64a29a5ba3a8daecd829fa2f98d42cb285 (diff)
downloadgunmake-e4d5d434247b720a3f78e1f7279168b5e6bf628e.tar.gz
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
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 84ba7a2..09f657a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-08-29 Paul Smith <psmith@gnu.org>
+
+ * 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 <psmith@gnu.org>
* read.c (parse_file_seq): Move the check for empty members out of