mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +00:00
inst_len with 0 length should be treated as invaild value. This patch move 0 length check to the begainning of the function and return -EINVAL if inst_len == 0. Tracked-On: ccm0001001-247210 Signed-off-by: Kaige Fu <kaige.fu@intel.com>