]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Don't leak uninitialized bits in NVMe completion statuses.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 29 Nov 2022 01:08:36 +0000 (17:08 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 29 Nov 2022 01:08:36 +0000 (17:08 -0800)
commit1d9e8a9e60953b148a036b39d1fe7037fdbb40a3
treef1666cf12041d6a5c2713b951448d01605f30857
parente7cd5ffff88f1f4dfba2693041cc78fcf3613fba
bhyve: Don't leak uninitialized bits in NVMe completion statuses.

In some cases, some bits in the 16-bit status word were never
initialized.

Reported by: GCC
Reviewed by: corvink, chuck, markj
Differential Revision: https://reviews.freebsd.org/D37486
usr.sbin/bhyve/pci_nvme.c