]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hyperv: Fix Coverity issues in the Hyper-V driver
authorRobert Herndon <Robert.Herndon@Dell.com>
Sun, 12 Feb 2023 05:09:20 +0000 (23:09 -0600)
committerDavid Bright <dab@FreeBSD.org>
Thu, 16 Feb 2023 00:24:45 +0000 (18:24 -0600)
commitb086426bc210ea567422b7bedaa637f345ad2d7d
treeb932adb8f7e33697da7a937d25683eafe45903dc
parentb039ca0776774036a9e33aa45f50296a7f6ba547
hyperv: Fix Coverity issues in the Hyper-V driver

Summary:
Coverity reports the use of two uninitialized variables in the hyperv
driver. Examination shows the variables can be accessed while
uninitialized in error cases. Fix both.

CID: 1365235
CID: 1365236
Sponsored by: Dell Technologies
MFC after: 1w

Test Plan: Changes in use at $WORK

Reviewers: robert.herndon_dell.com, vangyzen, bret_ketchum_dell.com

Subscribers: imp, badger

Differential Revision: https://reviews.freebsd.org/D38551
sys/dev/hyperv/utilities/vmbus_ic.c