mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
The bootargs module represents a string buffer and there is a NULL char at the end so its size should not be calculated by strnlen_s(), otherwise the NULL char will be ignored in gpa copy and result in kernel boot fail; Tracked-On: #6162 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>