diff options
| -rw-r--r-- | sys/kern/imgact_elf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index ff15a4657b25..27bcfbefeea1 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -520,6 +520,7 @@ __elfN(load_file)(struct proc *p, const char *file, u_long *addr, imgp->firstpage = NULL; imgp->image_header = (char *)kmem_alloc_wait(exec_map, PAGE_SIZE); imgp->object = NULL; + imgp->execlabel = NULL; if (imgp->image_header == NULL) { nd->ni_vp = NULL; |
