0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.0.0169: json_decode() may run out of stack space

Problem:    For complicated string json_decode() may run out of stack space.
Solution:   Change the recursive solution into an iterative solution.
This commit is contained in:
Bram Moolenaar
2017-01-10 19:44:18 +01:00
parent 872004132f
commit 8b2f19536f
2 changed files with 404 additions and 301 deletions

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
169,
/**/
168,
/**/