In some cases, some bits in the 16-bit status word were never
initialized.
Reported by: GCC
Differential D37486
bhyve: Don't leak uninitialized bits in NVMe completion statuses. Authored by jhb on Nov 23 2022, 11:16 PM. Tags None Referenced Files
Details In some cases, some bits in the 16-bit status word were never Reported by: GCC
Diff Detail
Event TimelineComment Actions I'm surprised that clang didn't flag these. I've noticed it has trouble detecting uninitialized variable use in functions containing gotos, but that doesn't apply here. |