emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6f3c62ff07: Pin lazily read bytecode (bug#53809)


From: Mattias Engdegård
Subject: master 6f3c62ff07: Pin lazily read bytecode (bug#53809)
Date: Mon, 7 Feb 2022 12:18:39 -0500 (EST)

branch: master
commit 6f3c62ff07e671dff1741ae580b9a761a3bfd361
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Pin lazily read bytecode (bug#53809)
    
    * src/eval.c (Ffetch_bytecode): Bytecode strings read lazily weren't
    pinned as they must be.  Do so.
    
    Bug reported by Gregor Zattler.
---
 src/eval.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/eval.c b/src/eval.c
index c87b1bc704..ae9b18da0b 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3495,6 +3495,7 @@ DEFUN ("fetch-bytecode", Ffetch_bytecode, Sfetch_bytecode,
              bytecode = Fstring_as_unibyte (bytecode);
            }
 
+         pin_string (bytecode);
          ASET (object, COMPILED_BYTECODE, bytecode);
          ASET (object, COMPILED_CONSTANTS, XCDR (tem));
        }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]