Explicitly initialize vmd_vm pointer with NULL before calling vm_register.
authormbuhl <mbuhl@openbsd.org>
Wed, 22 Feb 2023 10:04:45 +0000 (10:04 +0000)
committermbuhl <mbuhl@openbsd.org>
Wed, 22 Feb 2023 10:04:45 +0000 (10:04 +0000)
commit501909c0f6b0dc4b63ed8a3f67a6ff080522b2c5
tree4c58cbb30be2270a117dfd0b60191f476d0fa7b2
parentf508dbd165e7877a16c7e279eddfdd1dcff72718
Explicitly initialize vmd_vm pointer with NULL before calling vm_register.
Found by codechecker.
ok dv@
usr.sbin/vmd/config.c