vm_vcpu_open() really should check the value returned from malloc() and
return NULL on failure. Also, all users of vm_vcpu_open() need to check
the returned value for NULL, too.
Details
Details
- Reviewers
emaste markj corvink - Group Reviewers
bhyve - Commits
- rG91f03cde6604: libvmmapi: Check for allocation failure in vm_vcpu_open()
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable