diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-04-11 21:35:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-04-11 21:35:11 +0200 |
commit | d9462e394a582b2698e13648c95acf22322ee766 (patch) | |
tree | af599d1593650fcac4b64dfd3503836ce0e10070 /src/xxd | |
parent | ef9d6aa70d68cd3a765ed55f4c3781aeb8aeea23 (diff) | |
download | vim-git-d9462e394a582b2698e13648c95acf22322ee766.tar.gz |
updated for version 7.3.161v7.3.161
Problem: Items on the stack may be too big.
Solution: Make items static or allocate them.
Diffstat (limited to 'src/xxd')
-rw-r--r-- | src/xxd/xxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xxd/xxd.c b/src/xxd/xxd.c index 4d843dd62..85300dc9d 100644 --- a/src/xxd/xxd.c +++ b/src/xxd/xxd.c @@ -476,7 +476,7 @@ main(argc, argv) int octspergrp = -1; /* number of octets grouped in output */ int grplen; /* total chars per octet group */ long length = -1, n = 0, seekoff = 0; - char l[LLEN+1]; + static char l[LLEN+1]; /* static because it may be too big for stack */ char *pp; #ifdef AMIGA |