cloudflare / lua-resty-json

json lib for lua and C
BSD 2-Clause "Simplified" License
167 stars 33 forks source link

Fix out-of-bounds read in debug dump_obj function #14

Closed drcaramelsyrup closed 1 year ago

drcaramelsyrup commented 1 year ago

The read of reverse_nesting_order was unconditional regardless of whether the object was really a composite object or not.