diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2017-01-26 15:37:12 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2017-01-26 15:37:12 -0500 |
commit | 820db14f26ad8d203f6c3de6b51ff7bc2ec3476f (patch) | |
tree | 32e962381582f7d3edbf2d18165da648344dc58a /ChangeLog | |
parent | baa3d88037962e5a0cd97ad048bb63f8efe2d789 (diff) | |
download | gawk-820db14f26ad8d203f6c3de6b51ff7bc2ec3476f.tar.gz |
Fix bug in strftime when format argument is an unterminated field string.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2017-01-26 Andrew J. Schorr <aschorr@telemetry-investments.com> + * builtin.c (do_strftime): If format argument is passed, we need + to terminate it in case it's a field variable. + +2017-01-26 Andrew J. Schorr <aschorr@telemetry-investments.com> + * node.c (r_format_val): Before we free s->stptr, make sure that it was malloced. (wstr2str): Add comment explaining why it's safe to free n->stptr |