mirror of
https://github.com/morluto/rea.git
synced 2026-11-14 18:52:48 +00:00
The nesting guard ran on a child visit of GgufHeader#value, so an empty innermost array never produced one and a 33rd frame parsed as success while the reported limit stayed maximum_array_frames: 32. Charge the frame when entering the ARRAY branch instead, so the bound counts the advertised unit and no longer depends on a scalar child that is not a frame. Fixes #7312 Supersedes #7698 Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>