From unknown Sat Jun 21 10:35:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41065 <41065@debbugs.gnu.org> To: bug#41065 <41065@debbugs.gnu.org> Subject: Status: Result of byte-compilation can be nil even if the compiled file contains no errors Reply-To: bug#41065 <41065@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:35:50 +0000 retitle 41065 Result of byte-compilation can be nil even if the compiled fi= le contains no errors reassign 41065 emacs submitter 41065 Paul Pogonyshev severity 41065 minor tag 41065 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 03 18:21:19 2020 Received: (at submit) by debbugs.gnu.org; 3 May 2020 22:21:19 +0000 Received: from localhost ([127.0.0.1]:58316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVMz9-0003i2-3D for submit@debbugs.gnu.org; Sun, 03 May 2020 18:21:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:54806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVMz7-0003ht-AI for submit@debbugs.gnu.org; Sun, 03 May 2020 18:21:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVMz7-0005J4-5I for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 18:21:17 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:41172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVMz6-0008IW-7h for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 18:21:16 -0400 Received: by mail-wr1-x444.google.com with SMTP id g13so18667414wrb.8 for ; Sun, 03 May 2020 15:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KXrlye5fy0ZndfRCfzOT/NfdjK0735PP2M/zHYgGHnU=; b=EOK2QlkxAGhKvKl6nGuZLftzXGX69n6eZMnhzOrmkV3mkCnTnGcgDQieK2ugzhRy4R rgkTzTdyB9sG4WXnf0ptamZXMNbT2rxgpDCaUJphUyrRtfObo+klpreno/3hhEtR0yD/ rjl34S1SNlzWTbAoJmrarpdN3OO9Tk0JR7y1rKtk5DWpaNbWZgM2dgeCJgZEt6wT6Dae cGYpSZupMbxtOJDvroJCGxvw/q/aVRl5EbXj7mq1rUTyG2Q0G2m8HlshGXy2sCYiQy74 wGmcjCO/9LsUeQKM2Y3ZDTUfjbn2kl3GdJwpF2+JzzXMtz2bQsQg3sq3FGMSsXN+nUJ1 sqvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KXrlye5fy0ZndfRCfzOT/NfdjK0735PP2M/zHYgGHnU=; b=h2WVVfC+Gb3OKJHXqIsawAYKTyw3g3kcuo2rseexT5vcZH9SuepAHQWFyV2MHAgXmn 3Q9zuJJyGEfoVJaXawXNazen3capecCEjAGegh3YK7RN6bwsiNU8ieRHunUDhKSgjEnW iksaYR4/C07dv4x5MW5iF7X6ccWnnld6yfdO0HoC8L10VqZQ3VZXQrs+Ry0rEvDb9gEo Hs0jBB19fkzni884NStrBByAIqh+b+jyZVCa7Ym0Vsy+gqcYyCjub+vATXa95V7fEWUN BzNxLWwnor+k/wgE9J8yT1yJQAVJewXeLpSVpmajxei+yR3lLPOmkjH0LzkRauwyhqAZ /+/g== X-Gm-Message-State: AGi0PuaMugWH48kPgSG5c1HPMTaWeH7CCaI6kHQJJtk4Se1Lla809EdJ h9V5cEhPupiAF+o+6TayXdgduktX++y80tMCY8/zEqk= X-Google-Smtp-Source: APiQypKPW3HMViKRsPvTu2izNJHUMAqy1JUnTI1pO9HapqK6xlHpIiGlwc3+5utjDU27UTW3rl25V4QVa0lIt3Mtrr4= X-Received: by 2002:adf:b256:: with SMTP id y22mr15471396wra.355.1588544474077; Sun, 03 May 2020 15:21:14 -0700 (PDT) MIME-Version: 1.0 From: Paul Pogonyshev Date: Mon, 4 May 2020 00:21:02 +0200 Message-ID: Subject: Result of byte-compilation can be nil even if the compiled file contains no errors To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000165cbe05a4c5d5c9" Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=pogonyshev@gmail.com; helo=mail-wr1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000165cbe05a4c5d5c9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To reproduce, save this as file `main.el': (eval-when-compile (let ((default-directory (expand-file-name "/tmp/myprivatelib/"))) (make-directory default-directory t) (with-temp-file "thelib.el" (insert "(defun im-a-library-function ()\n" " (trigger-a-warning-here-1))\n" "(provide 'thelib\n")) ; <- intentionally erroneous syntax (byte-compile-file "thelib.el"))) (defun blabla () (trigger-a-warning-here-2)) and execute: $ emacs --batch --eval "(print (byte-compile-file \"main.el\"))" Result is: In toplevel form: thelib.el:3:1: Error: End of file during parsing In end of data: ~/test/nested-compilation/main.el:12:1: Warning: the function =E2=80=98trigger-a-warning-here-2=E2=80=99 is not known to be defin= ed. nil The last line is the result of the call to `byte-compile-file' from the command line and it is nil. But this is wrong, because `main.el' is syntactically correct and never triggers an error: you can verify this by evaluating `let' form manually. What failed is the "inner" compilation, but it must not affect the result of the "main" compilation process. A smaller problem is that the path to `main.el' is written fully, because it is apparently found from `/tmp/myprivatelib', which further corroborates my guess that the two byte-compilation processes are improperly lumped together. If you fix generated `thelib.el' by adding the missing paren, "outer" compilation will succeed. I emailed this to to `emacs-devel' quite a while ago: https://lists.gnu.org/archive/html/emacs-devel/2020-02/msg00227.html and the answer from Stefan Monnier confirmed that this should be qualified as a bug. I have forgotten to resubmit this to `bug-gnu-emacs' until now. Paul --000000000000165cbe05a4c5d5c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To reproduce, save this as file `main.el':
=C2=A0 =C2=A0 (eval-when-compile
=C2=A0 =C2=A0 =C2=A0 (let ((default-di= rectory (expand-file-name "/tmp/myprivatelib/")))
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 (make-directory default-directory t)
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 (with-temp-file "thelib.el"
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (insert "(defun im-a-library-function ()\n"
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 " =C2=A0(t= rigger-a-warning-here-1))\n"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 "(provide 'thelib\n")) =C2=A0; <-= intentionally erroneous syntax
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (byte-compil= e-file "thelib.el")))

=C2=A0 =C2=A0 (defun blabla ()
= =C2=A0 =C2=A0 =C2=A0 (trigger-a-warning-here-2))

and execute:
=C2=A0 =C2=A0 $ emacs --batch --eval "(print (byte-compile-file \&quo= t;main.el\"))"

Result is:

=C2=A0 =C2=A0 In toplevel= form:
=C2=A0 =C2=A0 thelib.el:3:1: Error: End of file during parsing
=C2=A0 =C2=A0 In end of data:
=C2=A0 =C2=A0 ~/test/nested-compilati= on/main.el:12:1: Warning: the function
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2= =80=98trigger-a-warning-here-2=E2=80=99 is not known to be defined.

= =C2=A0 =C2=A0 nil

The last line is the result of the call to `byte-c= ompile-file'
from the command line and it is nil.=C2=A0 But this is = wrong, because
`main.el' is syntactically correct and never triggers= an error:
you can verify this by evaluating `let' form manually.=C2= =A0 What
failed is the "inner" compilation, but it must not af= fect the
result of the "main" compilation process.

A sm= aller problem is that the path to `main.el' is written fully,
becaus= e it is apparently found from `/tmp/myprivatelib', which
further cor= roborates my guess that the two byte-compilation
processes are improperl= y lumped together.

If you fix generated `thelib.el' by adding th= e missing paren,
"outer" compilation will succeed.

I em= ailed this to to `emacs-devel' quite a while ago:

=C2=A0 =C2=A0 = https://lists.gnu.org/archive/html/emacs-devel/2020-02/msg00227.html<= /a>

and the answer from Stefan Monnier confirmed that this should be=
qualified as a bug.=C2=A0 I have forgotten to resubmit this to
`bug-= gnu-emacs' until now.

Paul
--000000000000165cbe05a4c5d5c9-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 20 11:48:22 2020 Received: (at control) by debbugs.gnu.org; 20 May 2020 15:48:22 +0000 Received: from localhost ([127.0.0.1]:54065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbQxB-0004sI-Of for submit@debbugs.gnu.org; Wed, 20 May 2020 11:48:21 -0400 Received: from mail-il1-f182.google.com ([209.85.166.182]:35622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbQx9-0004s5-Ve for control@debbugs.gnu.org; Wed, 20 May 2020 11:48:20 -0400 Received: by mail-il1-f182.google.com with SMTP id a14so3606961ilk.2 for ; Wed, 20 May 2020 08:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Pn4hhQvTgNVRTppFgKDLOsssGUabYCLGI7+z92BfvH4=; b=fBUiByNSuLZAjPbmGywNS1r8HB3iVu825RrfX7xu2BJ73SZkLpC3Eg2iOG7MNRKpY/ HRVAyN20nPii2DuFpiE7v8oosHGs57vxWt2G2Zety/xAmtVyqp8smxwdA3nV68DVpQIY 38ARH3T30zrhkFZA3RRjVFcJpR6NajFhT6yDhWXWH7M0YIOi0sluPVVBmRR4vo06KDJa KvnKOU9UK4JQqKqtyUKIdkb8MAE+LGppCnqXuoHyBUJKjstKUKpW07ydtCGsOKwqGXoX 75HbjkFEDgSUGmAf9pB4cT1sp4tzLw4EDOkrkQsW+BuaoBnAMcN4I3lAswDcWgC7LJG4 a1mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Pn4hhQvTgNVRTppFgKDLOsssGUabYCLGI7+z92BfvH4=; b=rrQr+a1fqX7bt3eBLiocWQBEeMJLhMNjXC8Kw/8pxswEi77xLeHxElyNb02xfH+UOs dgk5kjj3e6iuldy6KJYc0nV3BIcnqIIuzlUpvTTtoHn+tzvsoA9V4sbkl6iEaRR843jY KjKKN00eJiIk8Z51ObfuKsLmxjZTIkPBpbsobKrnLfuxHvWX483cqH916rQHbrMMn6qd l51wTaIlwF7NssWxPPHrGHj4z/6ggBRL+q0lnoS132uDizZy4zGfTP9ssPc/iE7njIQT ffglV7WcsWTwwyeRkp2aJdaemgCupU9AKC1hecRMidJFsuc5VY9UXPMr+V3WHI7zvJlu M1/Q== X-Gm-Message-State: AOAM5300hwkvXAHU3mfs0XZBfvpWAvdWa5OYnGg7Y3hNkC/U6ZGkI9gF OLkYD2e03YpXF+UCO+yZ9cQzzQda X-Google-Smtp-Source: ABdhPJyopNSFaXLD4NfnE5synarBVah9BoLQNzVOGzhweR4xA8gYdB4GPrzDBpHkxOZs2x6xp0KOQg== X-Received: by 2002:a92:9e51:: with SMTP id q78mr4586712ili.268.1589989694166; Wed, 20 May 2020 08:48:14 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id m17sm1520193ilh.51.2020.05.20.08.48.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 May 2020 08:48:13 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #41410 Date: Wed, 20 May 2020 11:48:12 -0400 Message-ID: <85mu62ober.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 41410 wishlist tags 41410 + patch tags 41239 + confirmed severity 41094 minor severity 41065 minor severity 41029 wishlist tags 41029 + patch severity 40972 minor severity 41328 wishlist severity 41225 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 20:11:17 2020 Received: (at 41065) by debbugs.gnu.org; 27 Oct 2020 00:11:17 +0000 Received: from localhost ([127.0.0.1]:42045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXCa5-0002pp-Jq for submit@debbugs.gnu.org; Mon, 26 Oct 2020 20:11:17 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:54829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXCa3-0002pb-Ka for 41065@debbugs.gnu.org; Mon, 26 Oct 2020 20:11:16 -0400 Received: by mail-wm1-f51.google.com with SMTP id w23so12265837wmi.4 for <41065@debbugs.gnu.org>; Mon, 26 Oct 2020 17:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=58CoQdta4BsUSi6bqahzoG3NKfkerpQ6RQpngfrCEAY=; b=F0jWYKaJAVNuQ5vwCXzuILLtlkqiBB8SbeYbMWnKfD6KaEa3yOkrt0Z1o92beC53Gq tsJRIYWHuapMZD+g202Q1nEmQAZs6Tnkl4oRzmH0Q7HacJsTAISKjJGLuo7D5mFTwf/0 M+C+u4Vk228jowQw6VtB3Nfy+hq508VKeVWzy+VFrIAiEO7OsXaR/zOka9ISW1db7XlZ 7PLBEMXJZ0C1qwTFIwEOzoaEQ3wdBpWh/zefIxcj7uvVLPCMTfwPbdVGmprwUEwa+MHZ iux5X1GpvidGS/I461g1fHyrShy6aO1rGt/el7SeB1S4MZgwcr+5IDL1k26Gq3CW0E0P LbtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=58CoQdta4BsUSi6bqahzoG3NKfkerpQ6RQpngfrCEAY=; b=d1tJUdrLCVYs1HBuZITs75mU0F/b2boKC49y9r9BHH71c6iaPhg0j9urKEwDD1UxBF 4SpG3mhzMkq0osdXHcrZTJMBlV42xzH2TMdlWgvTajkSil2xrJHb57sTawJbit2dkOyW 2U5gRLyHLgo9/3B2H4x8y91gPPeHIjJ7SQkQg1vqT870wj5fl+qx9IPLxQZVhF0Szefm DPKyM5Et3PfKPDcODmfdRkeGe6sFUdkrPl38fs04iZyjeXIiRljIyIL2j6qvlDsmxBMC JjNfrIWpNHk9iIVvngqGUXuYMFiYBVI4Aogr+H9MbYiSRiIRDHoDGVUf30izoNF9GvSG HZEQ== X-Gm-Message-State: AOAM532PEur+RjPZDFz6wSnRFMLE2I6LZnjGC25DLg2PVmqTVKRkraot JQ0f2wWi98UX0h3/fsuWOF2hAExptxXEST3ylguYrL0= X-Google-Smtp-Source: ABdhPJx8MYIQSDNwd+apMrpAAyIKvPLhxpLSweXQXiFsW9ykc5gUmIEm+HgXn52jxz7X1vVVoKYJdXArmhM3SIbllb4= X-Received: by 2002:a7b:c20d:: with SMTP id x13mr19664796wmi.83.1603757469409; Mon, 26 Oct 2020 17:11:09 -0700 (PDT) MIME-Version: 1.0 From: Paul Pogonyshev Date: Tue, 27 Oct 2020 01:10:58 +0100 Message-ID: Subject: PATCH To: 41065@debbugs.gnu.org Content-Type: multipart/mixed; boundary="000000000000454a6705b29be214" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41065 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000454a6705b29be214 Content-Type: multipart/alternative; boundary="000000000000454a6405b29be212" --000000000000454a6405b29be212 Content-Type: text/plain; charset="UTF-8" Trivial patch attached. --000000000000454a6405b29be212 Content-Type: text/html; charset="UTF-8"
Trivial patch attached.
--000000000000454a6405b29be212-- --000000000000454a6705b29be214 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Don-t-leak-result-of-nested-byte-compilation-to-oute.patch" Content-Disposition: attachment; filename="0001-Don-t-leak-result-of-nested-byte-compilation-to-oute.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kgr7s4b90 RnJvbSA4N2Q5MjdhM2E2MWYxNmZhOTA4YjVkZDFjMDA0NTcwMjNmMjY5MTE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIFBvZ29ueXNoZXYgPHBvZ29ueXNoZXZAZ21haWwuY29t PgpEYXRlOiBUdWUsIDI3IE9jdCAyMDIwIDAxOjA4OjE5ICswMTAwClN1YmplY3Q6IFtQQVRDSF0g RG9uJ3QgbGVhayByZXN1bHQgb2YgbmVzdGVkIGJ5dGUtY29tcGlsYXRpb24gdG8gb3V0ZXIgbGV2 ZWwKIChidWcjNDEwNjUpCgotLS0KIGxpc3AvZW1hY3MtbGlzcC9ieXRlY29tcC5lbCB8IDMgKy0t CiAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDIgZGVsZXRpb25zKC0pCgpkaWZmIC0t Z2l0IGEvbGlzcC9lbWFjcy1saXNwL2J5dGVjb21wLmVsIGIvbGlzcC9lbWFjcy1saXNwL2J5dGVj b21wLmVsCmluZGV4IGE1NDdiNjcyYjEuLmNiZGExNmQwNTEgMTAwNjQ0Ci0tLSBhL2xpc3AvZW1h Y3MtbGlzcC9ieXRlY29tcC5lbAorKysgYi9saXNwL2VtYWNzLWxpc3AvYnl0ZWNvbXAuZWwKQEAg LTE5MzgsNyArMTkzOCw3IEBAIGJ5dGUtY29tcGlsZS1maWxlCiAgICAgICAgIChieXRlLWNvbXBp bGUtLWtub3duLWR5bmFtaWMtdmFycwogICAgICAgICAgKGJ5dGUtY29tcGlsZS0tbG9hZC1keW52 YXJzIChnZXRlbnYgIkVNQUNTX0RZTlZBUlNfRklMRSIpKSkKIAl0YXJnZXQtZmlsZSBpbnB1dC1i dWZmZXIgb3V0cHV0LWJ1ZmZlcgotCWJ5dGUtY29tcGlsZS1kZXN0LWZpbGUpCisJYnl0ZS1jb21w aWxlLWRlc3QtZmlsZSBieXRlLWNvbXBpbGVyLWVycm9yLWZsYWcpCiAgICAgKHNldHEgdGFyZ2V0 LWZpbGUgKGJ5dGUtY29tcGlsZS1kZXN0LWZpbGUgZmlsZW5hbWUpKQogICAgIChzZXRxIGJ5dGUt Y29tcGlsZS1kZXN0LWZpbGUgdGFyZ2V0LWZpbGUpCiAgICAgKHdpdGgtY3VycmVudC1idWZmZXIK QEAgLTIwMDAsNyArMjAwMCw2IEBAIGJ5dGUtY29tcGlsZS1maWxlCiAJICAnbm8tYnl0ZS1jb21w aWxlKQogICAgICAgKHdoZW4gYnl0ZS1jb21waWxlLXZlcmJvc2UKIAkobWVzc2FnZSAiQ29tcGls aW5nICVzLi4uIiBmaWxlbmFtZSkpCi0gICAgICAoc2V0cSBieXRlLWNvbXBpbGVyLWVycm9yLWZs YWcgbmlsKQogICAgICAgOzsgSXQgaXMgaW1wb3J0YW50IHRoYXQgaW5wdXQtYnVmZmVyIG5vdCBi ZSBjdXJyZW50IGF0IHRoaXMgY2FsbCwKICAgICAgIDs7IHNvIHRoYXQgdGhlIHZhbHVlIG9mIHBv aW50IHNldCBpbiBpbnB1dC1idWZmZXIKICAgICAgIDs7IHdpdGhpbiBieXRlLWNvbXBpbGUtZnJv bS1idWZmZXIgbGluZ2VycyBpbiB0aGF0IGJ1ZmZlci4KLS0gCjIuMjAuMQoK --000000000000454a6705b29be214-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 27 04:47:20 2020 Received: (at 41065) by debbugs.gnu.org; 27 Oct 2020 08:47:20 +0000 Received: from localhost ([127.0.0.1]:42779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXKdU-0000tG-8k for submit@debbugs.gnu.org; Tue, 27 Oct 2020 04:47:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXKdS-0000nS-6e for 41065@debbugs.gnu.org; Tue, 27 Oct 2020 04:47:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Cc:To:From:Sender:Reply-To:Subject:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YChYUdL8T5lcj+Ae5hvI04Lxkh1s0TU/tacj93YVr+U=; b=gJxc3s8QUZjB54YL34E2pPEZgl 8jnA0S9nT50jNkwNn2n5UplRBLTOsoiCUNDCUFvTZb4C/bZsL61mFiyNNNpmx94A6W9AI8HoSueQs SNzZcIWfEsTkhyrgRCxD/XQFyXPwAP1ByGfrwDm1MG+jqAg+D08cUT1UVrG1Dvn/Jd+s=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXKdI-0004hl-Uk; Tue, 27 Oct 2020 09:47:11 +0100 From: Lars Ingebrigtsen To: Paul Pogonyshev References: X-Now-Playing: Big in Japan's _From Y to Z and never again_: "Nothing Special" Date: Tue, 27 Oct 2020 09:47:07 +0100 In-Reply-To: (Paul Pogonyshev's message of "Tue, 27 Oct 2020 01:10:58 +0100") Message-ID: <87sga0qcms.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Paul Pogonyshev writes: > Subject: [PATCH] Don't leak result of nested byte-compilation to outer level > (bug#41065) [...] Content analysis details: (-1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.8 MISSING_SUBJECT Missing Subject: header X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Paul Pogonyshev writes: > Subject: [PATCH] Don't leak result of nested byte-compilation to outer level > (bug#41065) [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [95.216.78.240 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: 41065 Cc: 41065@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Paul Pogonyshev writes: > Subject: [PATCH] Don't leak result of nested byte-compilation to outer level > (bug#41065) [...] > + byte-compile-dest-file byte-compiler-error-flag) > (setq target-file (byte-compile-dest-file filename)) > (setq byte-compile-dest-file target-file) > (with-current-buffer > @@ -2000,7 +2000,6 @@ byte-compile-file > 'no-byte-compile) > (when byte-compile-verbose > (message "Compiling %s..." filename)) > - (setq byte-compiler-error-flag nil) Thanks; applied to Emacs 28. I tried to follow the code paths where this variable is used, and as far as I can tell, this should be safe. The old code was rather odd, because there's just a (defvar byte-compiler-error-flag) in the file -- it's not actually defined, but after compiling something, that `setq' would define it globally. So your patch fixes that problem, too. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 27 04:47:27 2020 Received: (at control) by debbugs.gnu.org; 27 Oct 2020 08:47:27 +0000 Received: from localhost ([127.0.0.1]:42782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXKdb-0000zd-Jy for submit@debbugs.gnu.org; Tue, 27 Oct 2020 04:47:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXKda-0000ty-9a for control@debbugs.gnu.org; Tue, 27 Oct 2020 04:47:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/Zf+lZ85OQAxc61Br1yJW9F2PhhwA51d7Ay2c7LZoqE=; b=pM0f2Ih97ekZfk5a+2raY0HD0B K9O4q9kRvaXiXFdxDosEdYsWD8+sR3Af3rOYjyMGGs4AumUT3U2OMDL8GsyamrxcC8J2xrsZ/yf+F qmRoHL3evXrdV5sgbe9bilAJKTkcV2YON7QqzBhRKaI0H8qYjoQA92kHGAwNRM0t+l5Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXKdS-0004iW-Hs for control@debbugs.gnu.org; Tue, 27 Oct 2020 09:47:20 +0100 Date: Tue, 27 Oct 2020 09:47:17 +0100 Message-Id: <87r1pkqcmi.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41065 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 41065 fixed close 41065 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 41065 fixed close 41065 28.1 quit From unknown Sat Jun 21 10:35:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 24 Nov 2020 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator