diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-02 15:09:49 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-02 15:09:49 +0000 |
commit | 1fec21fe601c60c347d03dbd8f9ad83b0db677a4 (patch) | |
tree | 810c516b5d1875764b68c3fd07f559efb0a23c2f /ext/bigdecimal/bigdecimal.c | |
parent | c1e6052bfec1e621c3d2eda598b7f69270e176b8 (diff) | |
download | ruby-1fec21fe601c60c347d03dbd8f9ad83b0db677a4.tar.gz |
* ext/bigdecimal/bigdecimal.c (BigDecimal_new): stop checking string
taintness. [Bug #5508] [ruby-core:40510]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index fa32c99282..1435c03eb0 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -2403,7 +2403,6 @@ BigDecimal_new(int argc, VALUE *argv) break; } StringValueCStr(iniValue); - rb_check_safe_obj(iniValue); return VpAlloc(mf, RSTRING_PTR(iniValue)); } |