about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-23 14:15:27 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-23 14:15:27 +0000
commitc212ee5b06065492316b4ae9e600165f241087d1 (patch)
tree86a1e9de30e2fd8e67e79c5524cfd9e3af2f1c83 /Src
parenta2977ce2045f6c290a55c3819f8526ba331a077a (diff)
downloadzsh-c212ee5b06065492316b4ae9e600165f241087d1.tar.gz
zsh-c212ee5b06065492316b4ae9e600165f241087d1.tar.xz
zsh-c212ee5b06065492316b4ae9e600165f241087d1.zip
zsh-workers/8030
Diffstat (limited to 'Src')
-rw-r--r--Src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index da4bcffaa..384717916 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2976,7 +2976,7 @@ bslashquote(const char *s, char **e, int instring)
 {
     const char *u, *tt;
     char *v;
-    char *buf = ncalloc(3 * strlen(s) + 1);
+    char *buf = ncalloc(4 * strlen(s) + 1);
     int sf = 0;
 
     tt = v = buf;