[#101179] Spectre Mitigations — Amel <amel.smajic@...>
Hi there!
5 messages
2020/12/01
[#101180] Re: Spectre Mitigations
— Chris Seaton <chris@...>
2020/12/01
I wouldn’t recommend using Ruby to run in-process untrusted code in the first place. Are people doing that?
[#101694] Ruby 3.0.0 Released — "NARUSE, Yui" <naruse@...>
We are pleased to announce the release of Ruby 3.0.0. From 2015 we
4 messages
2020/12/25
[ruby-core:101600] [Ruby master Bug#17419] `binding.eval` backtrace differente
From:
shevegen@...
Date:
2020-12-21 19:10:39 UTC
List:
ruby-core #101600
Issue #17419 has been updated by shevegen (Robert A. Heiler). I think this is an intended change; it was explained via a link to a comment in another issue (I think by mame or someone else, where matz commented on reverting the behaviour). If I remember the reason, the changed backtrace confused many ruby users over the years, and it seemed better to go back to the state prior to the change, hopefully lessening the confusion in the process. :D (Not sure if NEWS mentions this, but if not then perhaps a link should be there, or just a short explanation in NEWS itself.) ---------------------------------------- Bug #17419: `binding.eval` backtrace differente https://bugs.ruby-lang.org/issues/17419#change-89387 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * ruby -v: ruby 3.0.0rc1 (2020-12-20 master 8680ae9cbd) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- Can somebody elaborate why there is different output for Ruby 2.7 vs Ruby 3.0? ~~~ $ ruby -v ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux] $ ruby -e ' begin binding.eval(%|raise "oops"|) rescue Exception => exc puts exc.backtrace end ' -e:3:in `<main>' -e:3:in `eval' -e:3:in `<main>' ~~~ ~~~ $ ruby -v ruby 3.0.0rc1 (2020-12-20 master 8680ae9cbd) [x86_64-linux] $ ruby -e ' begin binding.eval(%|raise "oops"|) rescue Exception => exc puts exc.backtrace end ' (eval):1:in `<main>' -e:3:in `eval' -e:3:in `<main>' ~~~ IOW the first line of backtrace is different. Is this expected? This is causing test failures: https://github.com/rails/web-console/issues/301 -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>