mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Initialize pve_fsid and pve_fileid to VNOVAL.
This commit is contained in:
parent
e5bc56aeae
commit
af002ab819
@ -424,6 +424,9 @@ ptrace_vm_entry(struct thread *td, struct proc *p, struct ptrace_vm_entry *pve)
|
||||
vm_map_unlock_read(map);
|
||||
vmspace_free(vm);
|
||||
|
||||
pve->pve_fsid = VNOVAL;
|
||||
pve->pve_fileid = VNOVAL;
|
||||
|
||||
if (error == 0 && obj != NULL) {
|
||||
lobj = obj;
|
||||
for (tobj = obj; tobj != NULL; tobj = tobj->backing_object) {
|
||||
|
Loading…
Reference in New Issue
Block a user