mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Don't use Qunbound as hash table key when printing (bug#68244)
This flaw could cause an assertion failure. * src/print.c (PRINT_CIRCLE_CANDIDATE_P): Don't consider Qunbound a print-circle candidate; it should never be seen by Lisp anyway.
This commit is contained in:
parent
ef01250ef9
commit
e7a6ce847f
1 changed files with 2 additions and 1 deletions
|
|
@ -1311,7 +1311,8 @@ print (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag)
|
|||
|| RECORDP (obj))) \
|
||||
|| (! NILP (Vprint_gensym) \
|
||||
&& SYMBOLP (obj) \
|
||||
&& !SYMBOL_INTERNED_P (obj)))
|
||||
&& !SYMBOL_INTERNED_P (obj) \
|
||||
&& !hash_unused_entry_key_p (obj)))
|
||||
|
||||
/* The print preprocess stack, used to traverse data structures. */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue