Commit 2985758c authored by Marius Gerbershagen's avatar Marius Gerbershagen
Browse files

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.
parent 194a9e0e
......@@ -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);
new->stepping = 0;
new->lex_env = ECL_NIL;
new->lexical_level = 0;
new->load_time_forms = ECL_NIL;
new->ltf_being_created = ECL_NIL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment