From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#72245: [PATCH] Fix integer overflow when reading XPM Date: Tue, 23 Jul 2024 14:39:42 -0700 Message-ID: References: <87frs0ydv6.fsf@yahoo.com> <87bk2oyavb.fsf@yahoo.com> <86wmlc86ne.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7636"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 72245@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 23 23:41:09 2024 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 1sWNFt-0001qf-DZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Jul 2024 23:41:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWNFm-0003Mz-Ms; Tue, 23 Jul 2024 17:41:02 -0400 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 1sWNFh-0003M8-R3 for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 17:40:58 -0400 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 1sWNFh-0006mM-Ip for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 17:40:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWNFm-000095-GJ for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jul 2024 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72245 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72245-submit@debbugs.gnu.org id=B72245.1721770855540 (code B ref 72245); Tue, 23 Jul 2024 21:41:02 +0000 Original-Received: (at 72245) by debbugs.gnu.org; 23 Jul 2024 21:40:55 +0000 Original-Received: from localhost ([127.0.0.1]:60828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWNFf-00008c-1t for submit@debbugs.gnu.org; Tue, 23 Jul 2024 17:40:55 -0400 Original-Received: from mail-lj1-f169.google.com ([209.85.208.169]:57785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWNFd-00008Q-Rb for 72245@debbugs.gnu.org; Tue, 23 Jul 2024 17:40:54 -0400 Original-Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2ebe40673d8so73189351fa.3 for <72245@debbugs.gnu.org>; Tue, 23 Jul 2024 14:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721770783; x=1722375583; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=xg7sV7p+leSfG+smMA2IcbJF6nC2/a9uz5bkG80utvA=; b=Apr/RtasYyt+U/31cqLbPLO0UYzjAuAa++M71pBMMwjG/8DPzS7ujf7tgLUvA1z4g0 HQBW0RDb0IUi+NfKcSplFKoQhjuNlmJNhLmFQQ5wukxE74Nguq9HsP54rQYEUaqYMh5N q5LUHNV73TcvLfBqOscjxob5W7cMkmOMFuJkXHS4yKpH+NovNT3Laiv47wYRvtsyB0J6 BYunTCb46ecAvmindkaF/PQpVG4PUvPajGH5xfATyvwSTOxjRt+F1YfBaezi5paSkami poRMO2TbB8VUgJJWafIYrhzM5TO7/8LDj75bnFMITdMAFLwf1hY+mcivEILlogF3SuOp GU+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721770783; x=1722375583; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xg7sV7p+leSfG+smMA2IcbJF6nC2/a9uz5bkG80utvA=; b=tHzsWPjFyjdVk2APPXu0TjJIH6WQIJLUkkCPdKQ4WcJnaH8/vpT66kZP+y6/EseP+6 q4mme9OjAF1y1Wlqog+RK7rOTxEdR5LfIt4Uhh5JOYevvRmXvadPTu/G4946QZxpCT8i xnsWr69PDsdwrlWzU5ZhLMjLHh/VaDoMDDfmvyFTFp9LMU9SdjapzQTOfm38THq5oNdr 0RyHhgEM7T3sxeknSaYau+gyz3Hez7U/K8oo47JD2ToMSjDT967b4691T/I67p60KlYo HGpqqTl8eIn9zvlInv3K19bpsuVSM7VE/9LBMQeKkm6VCGuHEM6L2eTn6BEVcCKP5zSE 8kbg== X-Forwarded-Encrypted: i=1; AJvYcCUl3xBjKOh+OT9e9+yWpHfgsHvrZmBcJmswcUiwFHAz5JudDgr5ql6rIh2DIFL1LLxoHgFvoAzjSdL9jUEFoQ6l0jkgCak= X-Gm-Message-State: AOJu0YwvEVJx0CjcMxNI7dPGF/7pGB1X65zhVFfuSzSHETWo0RLZ+yF+ pRuzih0xFAUpl6bSt9BzVq8/nInGPLOTx/XyGlfVWhtWs7MIhoAAPsvLP0+aUZYmUrNwuan3z8C 6GMSA1YjsNc6SRAftBQ8YhwOUI5U= X-Google-Smtp-Source: AGHT+IFL/b4LUfINsHCd0tioWuY8mYgfXIu9NzMNeF/l3mVlkROOT3btiihyZU30DOPO+XjPwsrregDGxIUiOc8uPXs= X-Received: by 2002:a2e:7a04:0:b0:2ef:2eb9:5e55 with SMTP id 38308e7fff4ca-2ef2eb95ea2mr51024971fa.13.1721770782466; Tue, 23 Jul 2024 14:39:42 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 23 Jul 2024 14:39:42 -0700 In-Reply-To: <86wmlc86ne.fsf@gnu.org> 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:289195 Archived-At: Eli Zaretskii writes: >> Cc: 72245@debbugs.gnu.org >> From: Stefan Kangas >> Date: Tue, 23 Jul 2024 07:51:29 -0700 >> >> That said, since you are asking, we are indeed discussing security >> sensitive code, that is executed without prompting, for example, when >> users receive emails or browse the web. > > Only in some MUAs, yes? For example, Rmail doesn't by default show > the images (or any other attachments), it requires a user action to do > so. Yes, and it's presumably also dependent on user options. I'd hope that most MUAs disable showing images by default (notmuch does), but I didn't check.