mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-05 08:50:49 -08:00
VVtemp might be uninitialized if there is no data
This commit is contained in:
parent
c642a2e789
commit
6389b49e88
1 changed files with 1 additions and 2 deletions
|
|
@ -2061,7 +2061,7 @@ read_VV(cl_object block, void (*entry_point)(cl_object))
|
|||
volatile cl_object x;
|
||||
cl_index i, len, perm_len, temp_len;
|
||||
cl_object in;
|
||||
cl_object *VV, *VVtemp;
|
||||
cl_object *VV, *VVtemp = 0;
|
||||
|
||||
if (block == NULL) {
|
||||
block = cl_alloc_object(t_codeblock);
|
||||
|
|
@ -2136,7 +2136,6 @@ read_VV(cl_object block, void (*entry_point)(cl_object))
|
|||
}
|
||||
} end_loop_for_on;
|
||||
if (VVtemp) {
|
||||
cl_index bytes = sizeof(*VVtemp) * temp_len;
|
||||
block->cblock.temp_data = NULL;
|
||||
block->cblock.temp_data_size = 0;
|
||||
memset(VVtemp, 0, bytes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue