Limit path depth to prevent stack overflow
Deeply nested path arrays can cause unbounded recursion in `jv_setpath`, `jv_getpath`, and `jv_delpaths`, leading to stack overflow. Add a depth limit of 10000 to match the existing `tojson` depth limit. This fixes CVE-2026-33947.
I
itchyny committed
fb59f1491058d58bdc3e8dd28f1773d1ac690a1f
Parent: 2f09060