aboutsummaryrefslogtreecommitdiff
path: root/dtoa.c
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2012-01-18 00:55:33 +1030
committerMark Pulford <mark@kyne.com.au>2012-03-04 18:54:35 +1030
commit0c6f2e488e17528ae42481d09879fd36551000e9 (patch)
treeaa12aab7e8619df8235eccb2c46368d822d45c33 /dtoa.c
parent8faf8490e518315a8eff17a76b019debe48104b4 (diff)
downloadlua-cjson-0c6f2e488e17528ae42481d09879fd36551000e9.tar.gz
lua-cjson-0c6f2e488e17528ae42481d09879fd36551000e9.tar.bz2
lua-cjson-0c6f2e488e17528ae42481d09879fd36551000e9.zip
Add depth/index to decode depth error message
Include depth and character index when throwing decode nesting errors. Pre-emptively add a test decoding a massively nested JSON array. Lua stack overflow faults are unlikely to occur on simple data structures. Valgrind can highlight stack allocation bugs with complicated JSON even if the test succeeds.
Diffstat (limited to 'dtoa.c')
0 files changed, 0 insertions, 0 deletions