Opened 2 years ago

#13747 new bug

JSON parser crashes on very highly nested arrays

Reported by: pulkomandy Owned by: nobody
Priority: low Milestone: Unscheduled
Component: Kits Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Stress test: https://github.com/lovasoa/bad_json_parsers/pull/2

There probably is no way to handle this properly, but at least it should abort cleanly when recursion gets too high (B_BAD_DATA?), instead of crashing.

Change History (0)

Note: See TracTickets for help on using tickets.