Commit 70f554e
[ruby/json] raise_parse_error: avoid UB
Fix: ruby/json#625
Declaring the buffer in a sub block cause bugs on some compilers.
ruby/json@90967c9eb01 parent 00aa1f9 commit 70f554e
File tree
3 files changed
+88
-75
lines changed- ext/json/parser
- test/json
3 files changed
+88
-75
lines changed
0 commit comments