diff --git a/ChangeLog b/ChangeLog index e8b444932e..00d246b69e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 31 12:51:25 2008 Yukihiro Matsumoto + + * dir.c (dir_globs): need taint check. reported by steve + + Fri Oct 31 12:42:45 2008 wanabe * array.c (rb_ary_decrement_share): fix to work recycling diff --git a/dir.c b/dir.c index 3de4c290be..ffc7e05c0e 100644 --- a/dir.c +++ b/dir.c @@ -1571,7 +1571,7 @@ dir_globs(long argc, VALUE *argv, int flags) for (i = 0; i < argc; ++i) { int status; VALUE str = argv[i]; - StringValue(str); + SafeStringValue(str); status = push_glob(ary, str, flags); if (status) GLOB_JUMP_TAG(status); }