diff options
| author | Gordon Tetlow <gordon@FreeBSD.org> | 2019-07-24 12:54:10 +0000 |
|---|---|---|
| committer | Gordon Tetlow <gordon@FreeBSD.org> | 2019-07-24 12:54:10 +0000 |
| commit | adbd5708772745f472fb86abec3b2a43d06cd3cc (patch) | |
| tree | 9d25a68ddb6e398125aceb80499a3d13a52613cc | |
| parent | 782845e111b289f1ef0a512640e962cf06baa278 (diff) | |
Notes
| -rw-r--r-- | sys/compat/freebsd32/freebsd32_ioctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32_ioctl.c b/sys/compat/freebsd32/freebsd32_ioctl.c index b634b30960b9..b6cdbd957c53 100644 --- a/sys/compat/freebsd32/freebsd32_ioctl.c +++ b/sys/compat/freebsd32/freebsd32_ioctl.c @@ -262,6 +262,8 @@ freebsd32_ioctl_pciocgetconf(struct thread *td, vm_offset_t addr; int error; + memset(&pmc, 0, sizeof(pmc)); + memset(&pc32, 0, sizeof(pc32)); if ((error = copyin(uap->data, &pci32, sizeof(pci32))) != 0) return (error); |
