mirror of
https://github.com/nlohmann/json.git
synced 2026-11-01 10:25:43 +00:00
The reference into the frame stack was only used before pop_back() and push_back(), but a later change could read it after them. Copy the frame and advance it through stack.back(), as the other stack walks do. Signed-off-by: Niels Lohmann <mail@nlohmann.me>