Permalink
Browse files

Fix string leakage with parenmatch

  • Loading branch information...
mike347 committed Aug 8, 2018
1 parent ed7b38a commit 82b96bfc7f23720794b525049796424ac2f9b8b4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/funmisc.c
View
@@ -1759,6 +1759,7 @@ paren_match(char *atext, char *buff, char **bptr, int key, int i_type,
return 0;
} else {
atextptr = atext;
memset(buff, '\0', BUFFER_LEN);
*bptr = buff;
tcnt = 0;
while (*atextptr && tcnt < i_pos) {

0 comments on commit 82b96bf

Please sign in to comment.