about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-08 09:13:22 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-08 09:13:22 +0000
commit1d24d00bbdad382348f164668f03db7b83dc8fa3 (patch)
treeac4cd2f0bf986b771fa5a68773fcd4325194cfaa /Src
parent2c6be9080ee40c34a54d514701f0375aac173935 (diff)
downloadzsh-1d24d00bbdad382348f164668f03db7b83dc8fa3.tar.gz
zsh-1d24d00bbdad382348f164668f03db7b83dc8fa3.tar.xz
zsh-1d24d00bbdad382348f164668f03db7b83dc8fa3.zip
zsh-workers/7713
Diffstat (limited to 'Src')
-rw-r--r--Src/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 9c67e494b..fac0781e8 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2963,7 +2963,8 @@ char *
 bslashquote(const char *s, char **e, int instring)
 {
     const char *u, *tt;
-    char *v, buf[PATH_MAX * 2];
+    char *v;
+    VARARR(char, buf, 2 * strlen(s) + 1);
     int sf = 0;
 
     tt = v = buf;