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.
This commit is contained in:
parent
6e403efc9b
commit
6f3c62ff07
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue