From: duerst@... Date: 2016-10-17T06:53:35+00:00 Subject: [ruby-core:77647] [Ruby trunk Bug#12846][Rejected] delete Issue #12846 has been updated by Martin D��rst. Status changed from Open to Rejected Osanda Jayathissa wrote: > We can crash a computer by making it's Disk and Memory to 100% and CPU too above 50%. > 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. You can do this in many different ways, with most if not all programming languages, and with most operating systems. Just generate more and more objects, or on a lower level (e.g. C), allocate more and more memory. In general, if you wait long enough (which may be 5 or more minutes), the OS will tell the process that there is no memory anymore, and will kill the process. Then the machine will work again normally. ---------------------------------------- Bug #12846: delete https://bugs.ruby-lang.org/issues/12846#change-60919 * Author: Osanda Jayathissa * Status: Rejected * 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: