From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4CD9E1F44D for ; Sun, 31 Mar 2024 10:20:43 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=yQAIKgOh; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=R6BAfQr3; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 2E2FB83ADE; Sun, 31 Mar 2024 10:20:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1711880437; bh=a1CIdDensYH9ZVBaLX7TPWlx6+quXwLkVSBpZBvnN7s=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=yQAIKgOh4e2+uH7BV2UheLq6W7M0m2QaFmJcpfYsmukGuZDWC9dzEJ25GiObnmnNs z8Kfep5CS0WEtCWItELuV4sDudbnuFRdYkcfwghMVk62HG6f4+8hrwgFTkASP9XxGq Y0lGuVMHQrGzYnEDc/keKe0miIrUoJwJqXguFlLo= Received: from s.wrqvwxzv.outbound-mail.sendgrid.net (s.wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 6EA4A83ADA for ; Sun, 31 Mar 2024 10:20:33 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=R6BAfQr3; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=J5PCXMym37wVuqsYyzVCNN4MxReco+tLij6MMnGtf9Q=; b=R6BAfQr3O3MGdPChxiwISR6f1BhgZBLPa1EghiMuAByE8A3vg02kLWesQ1kP02B6khzc y93mLDRus3VLHuy/h/nDLwHF54P/X9/PUDUYBETO1FJSbFlsllFG4BkAzE91AlXzQo61XX SykjtgI+g6Kh09kJqUZycR+dLT6r8J4psVw2DBPtuaHowYVoQyjdPoliiM67cpbqKktPxP 03wAYdeCOeaRi8FD+3kMbjS805d2u2hHI1P8rx/e1UYjnGKljTv41ZZkIaXBEPcwX1k0UI w4H+rBpxQf/rio6nwFady0G6WmY2batxwrodc5nJ8d7GYjc07YrAgeBZoV/vBPeg== Received: by recvd-6fc499775c-pshrz with SMTP id recvd-6fc499775c-pshrz-1-660938EF-1 2024-03-31 10:20:31.399136532 +0000 UTC m=+1084834.170549380 Received: from herokuapp.com (unknown) by geopod-ismtpd-27 (SG) with ESMTP id JFKGGNlOTqiUU7ji1qNtMg for ; Sun, 31 Mar 2024 10:20:31.391 +0000 (UTC) Date: Sun, 31 Mar 2024 10:20:31 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20245 X-Redmine-Issue-Author: peterzhu2118 X-Redmine-Issue-Priority: Normal 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-Redmine-MailingListIntegration-Message-Ids: 93982 X-SG-EID: =?us-ascii?Q?u001=2E44VQVH0G4ktThU9FFZyDXb=2FoLGKi0xg3KhKXpO+IAEE5wRGZS=2FaUmrCxU?= =?us-ascii?Q?vRSr0kI+o91vm0PKZJNpskxVPGLEUY0z2=2FFYkjb?= =?us-ascii?Q?KjL91GsNRUCo+ekj4OMEq=2FnByLqOQuZUj9MAkJ1?= =?us-ascii?Q?pv8xT2OD0+SW7Qg0lOOBP=2FDIU9UQrPrJpPcGC66?= =?us-ascii?Q?K1u2VW84xGCECoopFJihA=2FcEpiRvqzXAqutyGuZ?= =?us-ascii?Q?PMDv0Mh0vVvDS=2FpbgtHyh=2FEhMieRJqM0TZz3xx=2F?= =?us-ascii?Q?unMzndk0MMENyS02e=2FnHyvbtpg=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: TC73ZCMZIDAJNOI7S5MPGMVQW4DJXTOG X-Message-ID-Hash: TC73ZCMZIDAJNOI7S5MPGMVQW4DJXTOG X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117387] [Ruby master Bug#20245] Crash when checking symbol encoding List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "nagachika (Tomoyuki Chikanaga) via ruby-core" Cc: "nagachika (Tomoyuki Chikanaga)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20245 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: REQUIRED, 3.3: DONE to 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: DONE, 3.3: DONE ruby_3_2 27606daf8efeb0ae6d0590a2c9bb1c5aae07f140 merged revision(s) ac0163949a6ee678dfccec9f6e56422b91e5f0a9,01fd262e62076277a41af72ea13f20deb1b462a2. ---------------------------------------- Bug #20245: Crash when checking symbol encoding https://bugs.ruby-lang.org/issues/20245#change-107549 * Author: peterzhu2118 (Peter Zhu) * Status: Closed * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: DONE, 3.3: DONE ---------------------------------------- GitHub PR: https://github.com/ruby/ruby/pull/9871 We sometimes pass in a fake string to sym_check_asciionly. This can crash if sym_check_asciionly raises because it creates a CFP with the fake string as the receiver which will crash if GC tries to mark the CFP. For example, the following script crashes: ```ruby GC.stress = true Object.const_defined?("\xC3") ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/