SIGN IN SIGN UP

fix: Avoid stack overflow when deserializing large flat JSON objects (#5361)

* fix: Avoid stack overflow when deserializing large flat JSON objects

Replace JsonObjectDeserializer's recursive token parsing with an iterative loop. The parser already tracks state explicitly, so recursion was only used to advance to the next JSON token and could overflow on large flat maps.

Relates to https://github.com/getsentry/sentry-dart/issues/3668

* use larger module count

vm might not respect stack size, so increase the frame count (with smaller payload) to make test more robust

* add cl entries

* fix cl entry

* Update CHANGELOG.md

---------

Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com>
D
Denis Andrašec committed
83a416d1cfa89e79f71fd8eb9fe05d8e5058f665
Parent: e3e78e1
Committed by GitHub <noreply@github.com> on 5/6/2026, 8:50:23 AM