summaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-26 00:48:33 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-26 00:48:33 +0000
commit54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8 (patch)
tree417896793429b49996a0c7627df66056584bf250 /variable.c
parente923d742d3978cd1d624abb00e18fb793d2e820b (diff)
downloadruby-54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8.tar.gz
ruby-54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8.tar.xz
ruby-54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8.zip
* regex.c (re_match): p1 may exceed pend limit.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/variable.c b/variable.c
index 255854d8f..4d3944d60 100644
--- a/variable.c
+++ b/variable.c
@@ -143,9 +143,6 @@ classname(klass)
VALUE path = Qnil;
ID classpath = rb_intern("__classpath__");
- if (TYPE(klass) == T_ICLASS) {
- klass = RBASIC(klass)->klass;
- }
klass = rb_class_real(klass);
if (!klass) klass = rb_cObject;
if (ROBJECT(klass)->iv_tbl &&