Skip to content

Prevent Symbol/Cache Hash attacs #148

Closed
@korny

Description

@korny

One nice example:

("\u3400".."\u4DC0").each { |c| CodeRay.scan("%#{c}...#{c}", :ruby).debug }
CodeRay::Scanners::Ruby::StringState::STRING_PATTERN.size
 => 6582 

etc.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions