[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

Issue #7573 has been updated by nobu (Nobuyoshi N.).

% Done changed from 0 to 50


Bug #7573: const_get の引数検査が甘い
https://bugs.ruby-lang.org/issues/7573#change-34910

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

Issue #7573 has been updated by ko1 (Koichi Sasada).

Assignee set to Glass_saga (Masaki M.)


Bug #7573: const_get の引数検査が甘い
https://bugs.ruby-lang.org/issues/7573#change-34933

Author: tadf (tadayoshi funaba)
Status: Open
Priority: Low
Assignee: Glass_saga (Masaki M.)
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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs