diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-29 12:06:39 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-29 12:06:39 +0000 |
commit | 8cb0de91c4b00a0615d1bef672b17154495f0a0f (patch) | |
tree | d65c53546e8e54edea245e2f8c9cb74ae2d13e6f /test/cgi/testdata | |
parent | ef01a5a6490472e00cad6562074e0eab77aa4f22 (diff) | |
download | ruby-8cb0de91c4b00a0615d1bef672b17154495f0a0f.tar.gz |
Add a frozenness check to Enumerator#initialize.
* enumerator.c (enumerator_init): Add a frozenness check to
prevent a frozen Enumerator object from being reinitialized with
a different enumerable object. This is the least we should do,
and more fixes will follow. [Fixes GH-368] Patch by Kenichi
Kamiya.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/cgi/testdata')
0 files changed, 0 insertions, 0 deletions