summaryrefslogtreecommitdiff
path: root/coroutine
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-16 15:41:10 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-16 15:41:10 +0900
commit5c77402d885799e2465e291bf879dcfbd06ba77c (patch)
tree9ea230b5b0e5f7a445597a3cd53f3f5ab3fccc67 /coroutine
parentda39936ce165ea9462b9e192eb6b608485c94842 (diff)
Fix null pointer access in Ripper#initialize
In `rb_ruby_ripper_parser_allocate`, `r->p` is NULL between creating `self` and `parser_params` assignment. As GC can happen there, the typed-data functions for it need to consider the case.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8085
Diffstat (limited to 'coroutine')
0 files changed, 0 insertions, 0 deletions