diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-24 23:04:04 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-24 23:04:04 +0000 |
| commit | da1265564a0406050ee14dc25f0f4377ea930ae1 (patch) | |
| tree | 49bf1d6e126d160502ae9141b2f99c6d2e99490f | |
| parent | 9f196e03cb90483dda162d8bf0ed6f3b3b6f8b2d (diff) | |
* eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | eval.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Oct 25 08:03:26 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587] + Sun Oct 24 00:40:50 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (rb_load, search_required, rb_require_safe, rb_require): use @@ -1080,7 +1080,7 @@ get_backtrace(info) VALUE info; { if (NIL_P(info)) return Qnil; - return rb_funcall(info, rb_intern("backtrace"), 0); + return rb_check_array_type(rb_funcall(info, rb_intern("backtrace"), 0)); } static void |
