summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2017-01-26 15:37:12 -0500
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2017-01-26 15:37:12 -0500
commit820db14f26ad8d203f6c3de6b51ff7bc2ec3476f (patch)
tree32e962381582f7d3edbf2d18165da648344dc58a /ChangeLog
parentbaa3d88037962e5a0cd97ad048bb63f8efe2d789 (diff)
downloadgawk-820db14f26ad8d203f6c3de6b51ff7bc2ec3476f.tar.gz
Fix bug in strftime when format argument is an unterminated field string.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 12f0e5ca..6bc1b339 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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