Mercurial > vim
comparison src/version.c @ 10559:4d8be28b5913 v8.0.0169
patch 8.0.0169: json_decode() may run out of stack space
commit https://github.com/vim/vim/commit/8b2f19536ff979046f0d241850f4176a1ce4bca9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 19:44:18 2017 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 19:45:03 +0100 |
parents | 018b7ecc58db |
children | e025378406d1 |
comparison
equal
deleted
inserted
replaced
10558:eb3603e558be | 10559:4d8be28b5913 |
---|---|
762 NULL | 762 NULL |
763 }; | 763 }; |
764 | 764 |
765 static int included_patches[] = | 765 static int included_patches[] = |
766 { /* Add new patch number below this line */ | 766 { /* Add new patch number below this line */ |
767 /**/ | |
768 169, | |
767 /**/ | 769 /**/ |
768 168, | 770 168, |
769 /**/ | 771 /**/ |
770 167, | 772 167, |
771 /**/ | 773 /**/ |