Project

General

Profile

Actions

Bug #884

closed

Insecure operation: -r

Added by znz (Kazuhiro NISHIYAMA) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
Backport:
[ruby-dev:37446]

Description

=begin
以下のようにするとエラーメッセージの中に謎の-rが出てきます。

% ruby-trunk -ve '$SAFE=4;open("")'
ruby 1.9.1 (2008-12-14 revision 20736) [i686-linux]
-e:1:in open': Insecure operation: -r (SecurityError) from -e:1:in '
%
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0