HomeFreeBSD

Initialize all fields of 'struct vm_exception exception' before passing it to

Description

Initialize all fields of 'struct vm_exception exception' before passing it to
vm_inject_exception(). This fixes the issue that 'exception.cpuid' is
uninitialized when calling 'vm_inject_exception()'.

However, in practice this change is a no-op because vm_inject_exception()
does not use 'exception.cpuid' for anything.

Reported by: Coverity Scan
CID: 1261297
MFC after: 3 days

Details

Provenance
neelAuthored on
Parents
rS276431: First stab at UPDATING notes for clang 3.5.0.
Branches
Unknown
Tags
Unknown

Event Timeline