linux-stable/tools/hv
Zhu Jun bf050cc4ba tools/hv: Add memory allocation check in hv_fcopy_start
[ Upstream commit 94e86b174d ]

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

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Tested-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20240906091333.11419-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20240906091333.11419-1-zhujun2@cmss.chinamobile.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 12:03:38 +02:00
..
Build tools: hv: Add new fcopy application based on uio driver 2024-04-11 14:55:53 +02:00
hv_fcopy_uio_daemon.c tools/hv: Add memory allocation check in hv_fcopy_start 2024-10-10 12:03:38 +02:00
hv_get_dhcp_info.sh tools: hv: fix typos in toolchain 2019-08-17 15:29:28 -04:00
hv_get_dns_info.sh Tools: hv: Add an example script to retrieve DNS entries 2012-09-04 15:59:27 -07:00
hv_kvp_daemon.c hv/hv_kvp_daemon: Handle IPv4 and Ipv6 combination for keyfile format 2024-04-10 21:25:40 +00:00
hv_set_ifconfig.sh hv/hv_kvp_daemon: Some small fixes for handling NM keyfiles 2023-11-10 23:27:46 +00:00
hv_vss_daemon.c Tools: hv: Reopen the devices if read() or write() returns errors 2020-01-26 22:10:10 -05:00
lsvmbus tools: hv: lsvmbus: change shebang to use python3 2024-08-03 00:01:55 +00:00
Makefile tools: hv: rm .*.cmd when make clean 2024-09-05 07:23:08 +00:00
vmbus_bufring.c tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_bufring.h tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_testing vmbus_testing: fix wrong python syntax for integer value comparison 2023-07-23 23:19:30 +00:00