Commit 94e86b17 authored by Zhu Jun's avatar Zhu Jun Committed by Wei Liu
Browse files

tools/hv: Add memory allocation check in hv_fcopy_start



Added error handling for memory allocation failures
of file_name and path_name.

Signed-off-by: default avatarZhu Jun <zhujun2@cmss.chinamobile.com>
Reviewed-by: default avatarDexuan Cui <decui@microsoft.com>
Tested-by: default avatarSaurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20240906091333.11419-1-zhujun2@cmss.chinamobile.com


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
Message-ID: <20240906091333.11419-1-zhujun2@cmss.chinamobile.com>
parent 0b553086
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment