(Adding ruby-maint ML into CC)
Folks, could somebody help Borja find the answers sooner then me? I have to go through my backlog after a few days of PTO.
Thx
Vít
But after looking at it a bit more, I think the issue is just impacting ruby 3.0.x as here is the fix: https://github.com/ruby/ruby/commit/ffdf0232efd4955a234955c8372885b850fcfe33 In ruby 2.7 we do not do load_file_unsafe but just load_file: https://github.com/ruby/ruby/blob/1f4d4558484b370999954f3ede7e3aa3a3a01ef3/lib/rdoc/rdoc.rb
Then by running git-blame I noticed this was introduced via this commit and this person 3 years ago: https://github.com/ruby/ruby/blame/70613595645fc3ae2bdde8f023728e3f10122ffb/ext/psych/lib/psych.rb#L661
So I think it was never implemented, back-ported, or existed in 2.x and ruby 3.0 was already released on 2020-12-25. If you could confirm for the matter of a sanity check?
Regards,--
- Borja Tarraso
Principal Product Security EngineerRed Hat Nordics