From: osandajayathissa@... Date: 2016-10-17T06:13:10+00:00 Subject: [ruby-core:77644] [Ruby trunk Bug#12846] Crash in Ranges 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: