[ruby-core:77645] [Ruby trunk Bug#12846] delete

From: osandajayathissa@...
Date: 2016-10-17 06:34:18 UTC
List: ruby-core #77645
Issue #12846 has been updated by Osanda Jayathissa.

Subject changed from Crash in Ranges to delete
ruby -v deleted (ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32])

delete

----------------------------------------
Bug #12846: delete
https://bugs.ruby-lang.org/issues/12846#change-60917

* Author: Osanda Jayathissa
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
We can crash a computer by making it's Disk and Memory to 100% and CPU too above 50%.

The issue is when performing illogical ranges and converting them to an array.

Proof of Concept:
('malith'..'osanda').to_a

I have tested on a 64-bit Windows 10 machine. After few minutes the whole PC would get stuck and the user will have to restart the PC.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next