summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 14c6d9271b..1cff4778ca 100644
--- a/file.c
+++ b/file.c
@@ -1246,6 +1246,7 @@ rb_file_s_unlink(klass, args)
{
int n;
+ rb_secure(2);
n = apply2files(unlink_internal, args, 0);
return INT2FIX(n);
}