* src/pdumper.c (dump_do_dump_relocation): Add sanity check.
This commit is contained in:
parent
bc58bea371
commit
9d6162053e
1 changed files with 3 additions and 0 deletions
|
@ -5295,6 +5295,9 @@ dump_do_dump_relocation (const uintptr_t dump_base,
|
|||
error ("Trying to load incoherent dumped eln file %s",
|
||||
SSDATA (comp_u->file));
|
||||
|
||||
if (!CONSP (comp_u->file))
|
||||
error ("Incoherent compilation unit for dump was dumped");
|
||||
|
||||
/* emacs_execdir is always unibyte, but the file names in
|
||||
comp_u->file could be multibyte, so we need to encode
|
||||
them. */
|
||||
|
|
Loading…
Add table
Reference in a new issue