diff options
author | Paul Smith <psmith@gnu.org> | 2011-08-29 16:20:19 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2011-08-29 16:20:19 +0000 |
commit | e4d5d434247b720a3f78e1f7279168b5e6bf628e (patch) | |
tree | e3743fa9a60722d0b22116d8a170d376fa0b251e /ChangeLog | |
parent | b06b8c64a29a5ba3a8daecd829fa2f98d42cb285 (diff) | |
download | gunmake-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-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |