mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-27 23:11:18 -08:00
Fix Uninitialized pointer read
Coverity report https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706970&defectInstanceId=4323844&mergedDefectId=1435043
This commit is contained in:
parent
ee3d9e584d
commit
830f72473b
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ from_list_to_execve_argument(cl_object l, char ***environp)
|
|||
cl_object buffer;
|
||||
char **environ;
|
||||
for (p = l; !Null(p); p = ECL_CONS_CDR(p)) {
|
||||
cl_object s;
|
||||
cl_object s = ECL_CONS_CAR(p);
|
||||
total_size += s->base_string.fillp + 1;
|
||||
nstrings++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue