From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#75322: SAFE_ALLOCA assumed to root Lisp_Objects/SSDATA(string) Date: Mon, 06 Jan 2025 07:26:16 +0100 Message-ID: References: <87jzbbke6u.fsf@protonmail.com> <865xmtaeh9.fsf@gnu.org> <86r05h8s9d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38922"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: pipcet@protonmail.com, 75322@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 06 07:27:33 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUgaK-000A1t-2v for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 07:27:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUga3-0006CW-1S; Mon, 06 Jan 2025 01:27:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUgZr-0006Bg-Vx for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 01:27:07 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUgZq-0002qz-0Y for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 01:27:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=PYaspd3+zngJW0bNT31BBY4NRcnACBSoO57KfZ+ZoaM=; b=MxHOCLw44Fnmj2J4aKd36JFI8ieVkIHTCK6iny7w+fNIT536hOM+ZIahAonDFoFRzNwyb4xvUYjbDDTiyFsmLvmZTzns4X6gCLjr+2KYPQIYLWJw2KcZ9n6Mxe6i/l5vb4FggQPmBje8W28ve/of3nBGWJm68btOEmBdjzSSzJ0Ndj9cr6L1U2b2DJUmLA+GiPvqSdujY9sL/OzYwFVnnaei82nrJTjk+/ZKIj+tx1Ai3z6cWLqKqU/nAt3YVqIg7W6ujt6SSzuP6kZQpZHfc5247unEa2c1iXVJZMg1bxqgzRbMBDB2gqB8DCcb1DQi0HwLqIXFNCytgQgjEzFJtA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUgZp-0008UW-Ld for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 01:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jan 2025 06:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75322 X-GNU-PR-Package: emacs Original-Received: via spool by 75322-submit@debbugs.gnu.org id=B75322.173614479032593 (code B ref 75322); Mon, 06 Jan 2025 06:27:01 +0000 Original-Received: (at 75322) by debbugs.gnu.org; 6 Jan 2025 06:26:30 +0000 Original-Received: from localhost ([127.0.0.1]:36459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUgZJ-0008Td-RM for submit@debbugs.gnu.org; Mon, 06 Jan 2025 01:26:30 -0500 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:55726) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUgZF-0008TO-PO for 75322@debbugs.gnu.org; Mon, 06 Jan 2025 01:26:27 -0500 Original-Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3862d6d5765so8208397f8f.3 for <75322@debbugs.gnu.org>; Sun, 05 Jan 2025 22:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736144779; x=1736749579; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PYaspd3+zngJW0bNT31BBY4NRcnACBSoO57KfZ+ZoaM=; b=hpZIYNMqaPAAsvS1fEkNQ4PhZ+O1LeGx5iTDvTjmwuqD0fcKcOlW/cBBzyr86dFh/B ot8SSc7/DIWXs6evJZP0ErXVgGf66q4Yb7kvhzPt71JJBg8xoBJImm3kOtNH7jGybCvA CXAT3M0QxhzOVghPFfWvYg5CEfMf+oxfr607D/CDBn4m8SCXMgc8X5yCGlZus54jTxCk 9gEPVD2bDkFDMuo5avoC0MBC12hnuXVUkIVKxnmMLuKCc6qt4dUmgaohXZGWRywt/D9k SvNkPCxxwFmm9+1FURyPxsrPJg3VruylMdrCwbPlMV0QMNQFnslwRxu/Y9DERRKa8tVA 2xVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736144779; x=1736749579; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=PYaspd3+zngJW0bNT31BBY4NRcnACBSoO57KfZ+ZoaM=; b=i9H4B31i47fiz2vVk0GunTwt3mMCQCDPW/nzxgugEUgM2FPxGCfq/DRBn118VJld28 +0u870WZhoFke09zMzi+uyHRpyM9onjK0o3QDVNq4QcNb1/XNOudmKBEboCYlrQAtL9q VyXB9hNt3qw6xTrR1JZUKSrfdlpteHE26CAxEoLLnizt7P2R5yaG/y1HsSqC5jwMBy4J RAwHgumXxG9GyEEiazM6FsfMFQUzq7mY0aFb+UOOi621c0+nilwp1auDrKw1D+gMU4JO 2+umqM9PFO3XqcN9p8zxpVP+XQaO4MpK/Rl/+NUvWY9l0+me/Tmrxix6t+l8k1Wt+iIx nHlw== X-Forwarded-Encrypted: i=1; AJvYcCXStxBuKc0ZRvbIqJUJjwALxV/ahUGfOKZdxWxgquoHqVHNAHz/whyul7uCr09mxej/Apt/FQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzYvySjCckEzU2Poh7lKl6TRjdJHNZDOyiTLpm4WGIKgdDersdU KndatxLmoRjXrE7Eve0QNQKSeLnvlAtWcSFlneGcZ59toM8QIXeymRIqfA== X-Gm-Gg: ASbGncuNVTqLZAzXbTPiU13rLIFJZWn7KRo9IVp5vchMTPuM38X442gbmw4TOzwSv6b JFf/6IRku2W9wL5Sm3kwdFQP5/EQQ5UFu12H4qhILtQ3X9QnUzNBPLgBing7n2EfKNar4OIX944 fWLs4eQlUbi+q1CpJWjUV4PlVoM+RXNc+qgnsXlb/QpYypOCwEoI1P76lL4XgSV/nB0otbIbLLb 16lMjEljNg7tGcQF0nxoGKFbIg4JZbTSNsH456ITH2e97gyNl5ow98RtbCjVTomVI2gyEU+SFDr O1qpkfQlRpiyl8fK/8knFn4rCDNbi0hUR+JmWjWuvCFV152jKLyGvhU0HfPJ X-Google-Smtp-Source: AGHT+IGZI7UX/WlVXc9egYYBQ6ETs6PsaEXICqQwJkjUiypRFEPmWfQ6ZZPENhebXJAJLc/ChYIEAw== X-Received: by 2002:a05:6000:4024:b0:385:f6b9:e750 with SMTP id ffacd0b85a97d-38a221f31a9mr40483453f8f.9.1736144779223; Sun, 05 Jan 2025 22:26:19 -0800 (PST) Original-Received: from pro2 (p200300e0b74e69004d937c306cf91eca.dip0.t-ipconnect.de. [2003:e0:b74e:6900:4d93:7c30:6cf9:1eca]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c828e3fsm47627343f8f.5.2025.01.05.22.26.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 22:26:18 -0800 (PST) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sun, 05 Jan 2025 11:40:29 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298629 Archived-At: Gerd M=C3=B6llmann writes: > Eli Zaretskii writes: > >>> From: Gerd M=C3=B6llmann >>> Cc: pipcet@protonmail.com, 75322@debbugs.gnu.org >>> Date: Sun, 05 Jan 2025 09:19:17 +0100 >>>=20 >>> I'd grep for SAFE_NALLOCA, and for each occurrence, see what is stored >>> in the memory allocated. >> >> Is only SAFE_NALLOCA a potential problem? What about the other >> members of the SAFE_*ALLOC* family? > > Haven't checked others yet. I have that on my todo list now. Checked SAFE_ALLOCA now, and it seems not to be used for holding references anywhere.