Project

General

Profile

Actions

Bug #2222

closed

Regex creation error in safe mode

Added by marcandre (Marc-Andre Lafortune) about 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2009-10-17 trunk 25379) [x86_64-darwin10.0.0]
Backport:
[ruby-core:26137]

Description

=begin
$ ruby -e '$SAFE=4; /#{}/o'
-e:1:in `': Insecure: can't modify array (SecurityError)

Fairly recent since error not present in ruby 1.9.2dev (2009-08-30 trunk 24705)
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0