]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0169: json_decode() may run out of stack space v8.0.0169
authorBram Moolenaar <Bram@vim.org>
Tue, 10 Jan 2017 18:44:18 +0000 (19:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 10 Jan 2017 18:44:18 +0000 (19:44 +0100)
commit8b2f19536ff979046f0d241850f4176a1ce4bca9
tree732d72f83afe4598d8ca1437e47f6ce69a93f721
parent872004132f25cabe59352912889e042d6c7e6b4e
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.
src/json.c
src/version.c