From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 0697D20248 for ; Mon, 11 Mar 2019 12:58:29 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 912B812152D; Mon, 11 Mar 2019 21:58:22 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 85D55120AB0 for ; Mon, 11 Mar 2019 21:58:19 +0900 (JST) Received: by filter0096p3las1.sendgrid.net with SMTP id filter0096p3las1-28187-5C8659F4-22 2019-03-11 12:52:04.508520175 +0000 UTC m=+218184.008163656 Received: from herokuapp.com (unknown [3.84.97.177]) by ismtpd0050p1mdw1.sendgrid.net (SG) with ESMTP id 6qy1ccgOSLij8tID4avXjw for ; Mon, 11 Mar 2019 12:52:04.345 +0000 (UTC) Date: Mon, 11 Mar 2019 12:58:18 +0000 (UTC) From: nagachika00@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 67231 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15651 X-Redmine-Issue-Author: pb X-Redmine-Sender: nagachika X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?O2wxg26uOO6cft6GjkEp=2FGevTnH9lR=2FEdG60AX3F8=2FDgtzlxiTLs6qEKgSkuVq?= =?us-ascii?Q?=2FHBTzNR7ge8m5WAigT8NdKD2vKIHXDv2=2Fh4F+2L?= =?us-ascii?Q?IauwZo6h9Q6HQ7RfgnkYa8Su1HCdAGfjgXKDP3t?= =?us-ascii?Q?fQUTXkgYu0by5tZiBCY+YapRPrKU+Y2OhL1F6jp?= =?us-ascii?Q?nL4e5oYD5eWylzRFHdUsofW4mlBDaOI9gLA=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 91780 Subject: [ruby-core:91780] [Ruby trunk Bug#15651] infinite loop in int_pow X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15651 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.4: DONTNEED, 2.5: REQUIRED, 2.6: REQUIRED to 2.4: DONTNEED, 2.5: DONE, 2.6: REQUIRED ruby_2_5 r67219 merged revision(s) 67203. ---------------------------------------- Bug #15651: infinite loop in int_pow https://bugs.ruby-lang.org/issues/15651#change-77055 * Author: pb (pumbur _) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: DONTNEED, 2.5: DONE, 2.6: REQUIRED ---------------------------------------- `[1].repeated_permutation(1).size` goes into infinite loop. -- https://bugs.ruby-lang.org/