aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-08-10 19:39:52 +0930
committerMark Pulford <mark@kyne.com.au>2011-08-10 19:39:52 +0930
commit386fdad6820fefa77355ed330f3072a5e2a4bd3e (patch)
tree2b72bae1be543dc1116eb512d50f1fa5731ed44e /NEWS
parente5ee37f77f029f4df68a0fc92fc7a79c9f8af210 (diff)
downloadlua-cjson-386fdad6820fefa77355ed330f3072a5e2a4bd3e.tar.gz
lua-cjson-386fdad6820fefa77355ed330f3072a5e2a4bd3e.tar.bz2
lua-cjson-386fdad6820fefa77355ed330f3072a5e2a4bd3e.zip
Fix detection of objects with numeric string keys
lua_array_length() recognised some objects with numeric string keys as arrays since it was incorrectly using lua_isnumber(). When an object was incorrectly recognised as an array, json_append_array() would not find any entries and generate a result like: [null,null,...] Reported by: Zhang "agentzh" Yichun <agentzh@gmail.com>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions