mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Assign value of NULL to imgp->execlabel when imgp is initialized
in the ELF code. Missed in earlier merge from the MAC tree. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
845ee63965
commit
6d7bdc8def
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue