From: "tadf (tadayoshi funaba)" Date: 2012-12-16T18:59:47+09:00 Subject: [ruby-dev:46748] [ruby-trunk - Bug #7573][Open] const_get の引数検査が甘い Issue #7573 has been reported by tadf (tadayoshi funaba). ---------------------------------------- Bug #7573: const_get の引数検査が甘い https://bugs.ruby-lang.org/issues/7573 Author: tadf (tadayoshi funaba) Status: Open Priority: Low Assignee: Category: core Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-12-16 trunk 38415) [i686-linux] const_get の引数検査が甘い。 $ ruby -v -e '::FOO = 9; p Object.const_get("FOO\000")' ruby 2.0.0dev (2012-12-16 trunk 38415) [i686-linux] 9 $ ruby -v -e '::FOO = 9; p Object.const_get("FOO::")' ruby 2.0.0dev (2012-12-16 trunk 38415) [i686-linux] 9 -- http://bugs.ruby-lang.org/