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 | 91b24525983f466ac8b293790a066f45e4880067 (patch) | |
tree | 6920d4fa7298cba74295b6d8c442ace064165734 | |
parent | c94a13f8e34a4cf49b9a28a619d0e465cbbb9fcc (diff) | |
download | ruby-91b24525983f466ac8b293790a066f45e4880067.tar.gz ruby-91b24525983f466ac8b293790a066f45e4880067.tar.xz ruby-91b24525983f466ac8b293790a066f45e4880067.zip |
* eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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:41:09 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (rb_load, search_required, rb_require_safe, rb_require): use @@ -1078,7 +1078,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 |