diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-03-03 16:23:43 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-03-06 09:09:03 -0500 |
| commit | a1758fbd7fe7406601b0eb1617752db59b83586a (patch) | |
| tree | b31845f187abfaf10339a20c8ffc244470b25745 /include/ruby/internal/encoding | |
| parent | 755c379d877c66916d20840f07738d6050da3ca2 (diff) | |
Crash when malloc during GC
This feature was introduced in commit 2ccf6e5, but I realized that
using rb_warn is a bad idea because it allocates objects, which causes
a different crash ("object allocation during garbage collection phase").
We should just hard crash here instead.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7441
Diffstat (limited to 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions
