diff options
author | Jean Boussier <[email protected]> | 2025-04-25 07:35:05 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-04-30 08:12:41 +0200 |
commit | 8fe3fb5d5a020d9c567cce92dc8812ae7bd8c327 (patch) | |
tree | d18ad5da183ea47b9ef7c797e618d4e39416d6e6 /test/json/json_generator_test.rb | |
parent | 18dac125cb48768b546a5913378e7349ee687492 (diff) |
[ruby/json] Stop caching the generator state pointer
Fix: https://github.com/ruby/json/issues/790
If we end up calling something that spills the state
on the heap, the pointer we received is outdated and
may be out of sync.
https://github.com/ruby/json/commit/2ffa4ea46b
Diffstat (limited to 'test/json/json_generator_test.rb')
0 files changed, 0 insertions, 0 deletions