about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-03-07 13:29:49 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-03-07 13:29:49 +0000
commit3ee4759f28ab7248790f66516e3a44bd50da1a1e (patch)
tree3fd1ddd8897043736f4f74a3e8cf13cb580fe6d6 /Src
parent2ab4ce8e65c30a0a8e9c307c4ee10e11386d1fa6 (diff)
downloadzsh-3ee4759f28ab7248790f66516e3a44bd50da1a1e.tar.gz
zsh-3ee4759f28ab7248790f66516e3a44bd50da1a1e.tar.xz
zsh-3ee4759f28ab7248790f66516e3a44bd50da1a1e.zip
19549: correct buffer size for printf spec
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 48ad69324..fbca0b5f5 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3151,7 +3151,7 @@ bin_print(char *name, char **args, Options ops, int func)
     int flen, width, prec, type, argc, n, narg;
     int nnl = 0, ret = 0, maxarg = 0;
     int flags[5], *len;
-    char *start, *endptr, *c, *d, *flag, *buf, spec[11], *fmt = NULL;
+    char *start, *endptr, *c, *d, *flag, *buf, spec[13], *fmt = NULL;
     char **first, *curarg, *flagch = "0+- #", save = '\0', nullstr = '\0';
     size_t rcount, count = 0;
 #ifdef HAVE_OPEN_MEMSTREAM