mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* variable.c (rb_f_trace_var): should not be allowed at safe level 4.
a patch from Keita Yamaguchi <keita.yamaguchi@gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8b424513fd
commit
4524572f79
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Jun 26 17:43:41 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* variable.c (rb_f_trace_var): should not be allowed at safe level 4.
|
||||
a patch from Keita Yamaguchi <keita.yamaguchi@gmail.com>.
|
||||
|
||||
Thu Jun 26 11:04:30 2008 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems: Update to RubyGems 1.2.0 r1824. Incorporates patch by
|
||||
|
|
|
@ -594,6 +594,7 @@ rb_f_untrace_var(int argc, VALUE *argv)
|
|||
struct trace_var *trace;
|
||||
st_data_t data;
|
||||
|
||||
rb_secure(4);
|
||||
rb_scan_args(argc, argv, "11", &var, &cmd);
|
||||
id = rb_to_id(var);
|
||||
if (!st_lookup(rb_global_tbl, id, &data)) {
|
||||
|
|
Loading…
Reference in a new issue