[#77789] [Ruby trunk Feature#12012] Add Boolean method — prodis@...
Issue #12012 has been updated by Fernando Hamasaki de Amorim.
4 messages
2016/10/27
[ruby-core:77644] [Ruby trunk Bug#12846] Crash in Ranges
From:
osandajayathissa@...
Date:
2016-10-17 06:13:10 UTC
List:
ruby-core #77644
Issue #12846 has been reported by Osanda Jayathissa.
----------------------------------------
Bug #12846: Crash in Ranges
https://bugs.ruby-lang.org/issues/12846
* Author: Osanda Jayathissa
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
* 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.
---Files--------------------------------
Screenshot_3.png (155 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>