diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-01 06:46:12 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-01 06:46:12 +0000 |
commit | d23012904ac77bff3d687e696fc00831546ac2fa (patch) | |
tree | 1fd6996816cc97c31d0bc780a81ae3a0a6d15722 /file.c | |
parent | c029880ae50e20733cb793a4b2f37e52528524cc (diff) |
* file.c (rb_file_s_unlink): should not allow if $SAFE >= 2.
* object.c (rb_obj_taint): backport from 1.7.
* object.c (rb_obj_untaint): add frozen status check (backport from 1.7).
* ruby.c (proc_options): unexpected SecurityError happens when -T4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1168,6 +1168,7 @@ rb_file_s_unlink(klass, args) { int n; + rb_secure(2); n = apply2files(unlink_internal, args, 0); return INT2FIX(n); } |