diff options
author | James McCoy <jamessan@jamessan.com> | 2017-05-30 00:47:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 00:47:27 +0000 |
commit | 43f40b8e1acafa55e1c8df7c08c91a042f834f97 (patch) | |
tree | be6014d25aec464625e5763bc4bf4ca2943bebab | |
parent | 1b7a9bf4d2028e75a140e3b314901e58684f2b1a (diff) | |
parent | 5886eaed7d3bc66b70212e8f5278f70e683bd456 (diff) | |
download | rneovim-43f40b8e1acafa55e1c8df7c08c91a042f834f97.tar.gz rneovim-43f40b8e1acafa55e1c8df7c08c91a042f834f97.tar.bz2 rneovim-43f40b8e1acafa55e1c8df7c08c91a042f834f97.zip |
Merge pull request #6740 from oni-link/fix.snprintf
if_cscope: Fix truncation of formated output
-rw-r--r-- | src/nvim/if_cscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index e1c7df9175..f7706f5a0d 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -1972,7 +1972,7 @@ static void cs_release_csp(size_t i, int freefnpp) static int cs_reset(exarg_T *eap) { char **dblist = NULL, **pplist = NULL, **fllist = NULL; - char buf[20]; /* for snprintf " (#%zu)" */ + char buf[25]; // for snprintf " (#%zu)" if (csinfo_size == 0) return CSCOPE_SUCCESS; |