mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Nul-terminated strings are passed in all cases, so the strlen() can very well be invoked by the function itself. In preparation for a hypervisor change also include the nul terminator in the size calculation. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Reviewed-by: Anthony PERARD <anthony.perard@vates.tech> Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com>