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 52fe96c436..2e79bed283 100644
--- a/file.c
+++ b/file.c
@@ -2013,6 +2013,7 @@ rb_file_s_utime(argc, argv)
struct timeval tvs[2], *tvp = NULL;
long n;
+ rb_secure(2);
rb_scan_args(argc, argv, "2*", &atime, &mtime, &rest);
if (!NIL_P(atime) || !NIL_P(mtime)) {