Project

General

Profile

Actions

Bug #2222

closed

Regex creation error in safe mode

Added by marcandre (Marc-Andre Lafortune) over 14 years ago. Updated almost 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 #1

Updated by marcandre (Marc-Andre Lafortune) over 14 years ago

  • Status changed from Open to Assigned
  • Assignee set to ko1 (Koichi Sasada)

=begin
Issue was introduced in r24786

=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) over 14 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r25398.
Marc-Andre, thank you for your reporting of the issue.
You have greatfully contributed toward Ruby.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0