about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2018-02-26 20:21:56 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2018-02-26 20:21:56 +0000
commit14743c0dfdb81a6a4a051921e56a61c3b1e0e664 (patch)
treedf81d66347a3ec4b3758afc3e35528e2eb47b893 /ChangeLog
parentba7de6d0d52578d343a56b49083456ebf00dfb26 (diff)
downloadzsh-14743c0dfdb81a6a4a051921e56a61c3b1e0e664.tar.gz
zsh-14743c0dfdb81a6a4a051921e56a61c3b1e0e664.tar.xz
zsh-14743c0dfdb81a6a4a051921e56a61c3b1e0e664.zip
42401: workaround for gcc -foptimize-strlen oddit.
Use realloc(NULL, ...) instead of malloc in zsh-mem calloc().
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 099f5ce90..b2054f4f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2018-02-26  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* Joey Pabalinas: 42401: Src/mem.c: replace malloc with use of
+	realloc to work around crash with gcc using -foptimize-strlen.
+
 	* users/23169: Completion/Base/Completer/_expand: treat ~[...]
 	the same way is other forms of tilde expansion: only expand
 	if accept-exact is set.