bytecmp: don't leave c_env->lex_env uninitialized
Was previously only initialized in si_eval_with_env. Due to the introduction of si_bc_compile_from_stream, it was used uninitialized in this new function, leading to segfaults.
This commit is contained in:
parent
194a9e0eab
commit
2985758cd3
1 changed files with 1 additions and 0 deletions
|
|
@ -547,6 +547,7 @@ c_new_env(cl_env_ptr the_env, cl_compiler_env_ptr new, cl_object env,
|
||||||
ECL_NIL, /* displacement */
|
ECL_NIL, /* displacement */
|
||||||
ECL_NIL);
|
ECL_NIL);
|
||||||
new->stepping = 0;
|
new->stepping = 0;
|
||||||
|
new->lex_env = ECL_NIL;
|
||||||
new->lexical_level = 0;
|
new->lexical_level = 0;
|
||||||
new->load_time_forms = ECL_NIL;
|
new->load_time_forms = ECL_NIL;
|
||||||
new->ltf_being_created = ECL_NIL;
|
new->ltf_being_created = ECL_NIL;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue