1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (call_trace_func): no check for argument number of the

callback.  fixed: [ruby-dev:28812]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2006-06-26 14:43:06 +00:00
parent e5f2b421c0
commit 61f3ff8d78
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Jun 26 23:42:57 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (call_trace_func): no check for argument number of the
callback. fixed: [ruby-dev:28812]
Mon Jun 26 18:37:44 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is

2
eval.c
View file

@ -2592,7 +2592,7 @@ call_trace_func(rb_event_t event, NODE *node, VALUE self, ID id, VALUE klass /*
id?ID2SYM(id):Qnil,
self ? rb_f_binding(self) : Qnil,
klass?klass:Qnil),
Qundef, 0, 1);
Qundef, 0, 0);
}
if (raised) thread_set_raised();
POP_TAG();