[dpdk-test-report] |FAILURE| pw56474[v2] examples/vm_power: fix strcpy buffer overrun

sys_stv at intel.com sys_stv at intel.com
Wed Jul 17 05:11:06 CEST 2019


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/56474

_apply issues_

Submitter: David Hunt <david.hunt at intel.com>
Date: 2019-07-16 08:24:05
Reply_mail: 20190716082405.22394-1-david.hunt at intel.com
DPDK git baseline:
	Repo:dpdk, CommitID: 135393d4560bcffaa3fe0b739d26591565a320a2

*Repo: dpdk
rte_strlcpy(chan_info->channel_path, socket_path,
				sizeof(chan_info->channel_path));

		if (setup_host_channel_info(&chan_info, i) < 0) {

error: patch failed: examples/vm_power_manager/channel_manager.c:588
error: examples/vm_power_manager/channel_manager.c: patch does not apply
Checking patch examples/vm_power_manager/channel_monitor.c...
error: while searching for:
				vm_name);
			return -1;
--
		rte_strlcpy(pkt->vm_name, vm_name, VM_MAX_NAME_SZ);
		pkt->resource_id = resource_id;
	}
	return 0;

error: patch failed: examples/vm_power_manager/channel_monitor.c:309
error: examples/vm_power_manager/channel_monitor.c: patch does not apply
Checking patch examples/vm_power_manager/guest_cli/main.c...
error: while searching for:
		switch (opt) {
		/* portmask */
--
			strcpy(policy->vm_name, optarg);
			printf("Setting VM Name to [%s]\n", policy->vm_name);
			break;
		case 'b':

error: patch failed: examples/vm_power_manager/guest_cli/main.c:65
error: examples/vm_power_manager/guest_cli/main.c: patch does not apply

DPDK STV team


More information about the test-report mailing list