diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-18 01:13:54 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-18 01:13:54 +0000 |
commit | c50d4d71536eac41d807394f4f5fa679431fce51 (patch) | |
tree | 28d6e85f2ff67358bad3577411c5cf1f6a828ca2 /ChangeLog | |
parent | 1d4d4dab7c6883b070208ac5de05d1a5163e5b4d (diff) | |
download | ruby-c50d4d71536eac41d807394f4f5fa679431fce51.tar.gz ruby-c50d4d71536eac41d807394f4f5fa679431fce51.tar.xz ruby-c50d4d71536eac41d807394f4f5fa679431fce51.zip |
* vm_method.c (rb_undef): should raise TypeError if klass is nil.
1.instance_eval { undef to_s } causes SEGV before this fix.
* test/ruby/test_undef.rb: new tests for undef.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Wed Nov 18 10:12:34 2009 Shugo Maeda <shugo@ruby-lang.org> + + * vm_method.c (rb_undef): should raise TypeError if klass is nil. + 1.instance_eval { undef to_s } causes SEGV before this fix. + + * test/ruby/test_undef.rb: new tests for undef. + Wed Nov 18 08:41:42 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * string.c (str_utf8_nth): fixed overrun. [ruby-core:26787] |