aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMark Peek <mp@FreeBSD.org>2021-10-09 21:21:16 +0000
committerMark Peek <mp@FreeBSD.org>2021-10-16 18:22:43 +0000
commit4e5c1be4202a141b7a15c505848abcbea535912f (patch)
tree1a70199f1c45a79d7d790a9d043fd41e9ece31d4 /usr.bin
parent66f5f958646c780676c23bd581cf5b3e26eff551 (diff)
vmci: fix panic due to freeing unallocated resources
Summary: An error mapping PCI resources results in a panic due to unallocated resources being freed up. This change puts the appropriate checks in place to prevent the panic. PR: 252445 Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> Tested by: marcus MFC after: 1 week Sponsored by: VMware Test Plan: Along with user testing, also simulated error by inserting a ENXIO return in vmci_map_bars(). Reviewed by: marcus Subscribers: imp Differential Revision: https://reviews.freebsd.org/D32016 (cherry picked from commit 0f14bcbe384091c729464cb770372aeb79061070)
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions