ruby-changes:65057
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Wed, 27 Jan 2021 09:30:39 +0900 (JST)
Subject: [ruby-changes:65057] 73e948afd5 (master): win32/win32.c:getcwd_value: delete OBJ_TAINT
https://git.ruby-lang.org/ruby.git/commit/?id=73e948afd5 From 73e948afd5d465548868189d1bd0a8d35e238fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Wed, 20 Jan 2021 12:00:46 +0900 Subject: win32/win32.c:getcwd_value: delete OBJ_TAINT Makes no sense any longer. --- win32/win32.c | 1 - 1 file changed, 1 deletion(-) diff --git a/win32/win32.c b/win32/win32.c index 27f2d9c..9b81488 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -4773,7 +4773,6 @@ static void * https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L4773 getcwd_value(int size, void *arg) { VALUE str = *(VALUE *)arg = rb_utf8_str_new(0, size - 1); - OBJ_TAINT(str); return RSTRING_PTR(str); } -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/