diff options
author | Mark Pulford <mark@kyne.com.au> | 2012-01-17 23:28:10 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2012-03-04 18:54:35 +1030 |
commit | 8faf8490e518315a8eff17a76b019debe48104b4 (patch) | |
tree | 3ab249cd8b9ce70ada61425d2749e0c3b3196f60 /LICENSE | |
parent | e3b3da50f10096de12bb6b47156dd2c94c373a19 (diff) | |
download | lua-cjson-8faf8490e518315a8eff17a76b019debe48104b4.tar.gz lua-cjson-8faf8490e518315a8eff17a76b019debe48104b4.tar.bz2 lua-cjson-8faf8490e518315a8eff17a76b019debe48104b4.zip |
Fix Lua C function stack overflow during encoding
Ensure there are enough Lua stack slots available before descending into
another table during encoding. This fixes a segfault when encoding
deeply nested tables.
This bug wasn't noticed earlier due to the previous limit of 20 nested
tables.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions