aboutsummaryrefslogtreecommitdiffstats
path: root/test/mkmf
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-29 22:39:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-29 22:40:41 +0900
commitfee5cde00be7342dc6c00d0b0a0276d09e5252e3 (patch)
treefd80f86afb77cfe29d90013adc6545d47c9518e2 /test/mkmf
parentad4da86669454dee86844b3e0a3ecf9177084db3 (diff)
downloadruby-fee5cde00be7342dc6c00d0b0a0276d09e5252e3.tar.gz
Fix tests for CVE-2018-6914
Since the current working directory is not involved in `Tempfile` and `Dir.mktmpdir` (except for the last resort), it is incorrect to derive the traversal path from it. Also, since the rubyspec temporary directory is created under the build directory, this is not involved in the target method. Fixed sporadic errors in test-spec.
Diffstat (limited to 'test/mkmf')
0 files changed, 0 insertions, 0 deletions