HomeFreeBSD

bhyvectl: do not return garbage from send_message

Description

bhyvectl: do not return garbage from send_message

err is used uninitialized in some cases.

Reviewed by: corvink, markj
MFC after: 1 week
Sponsored by: vStack
Differential Revision: https://reviews.freebsd.org/D38886

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Mar 6 2023, 11:27 AM
corvinkCommitted on Mar 6 2023, 1:03 PM
Reviewer
corvink
Differential Revision
D38886: bhyvectl: send_message() returns garbage
Parents
rGee10c61d7a0a: stress2: Fix a off-by-one error. Added check for argument file type
Branches
Unknown
Tags
Unknown