automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw119594 [PATCH] [v1] common/idpf: fix possible null dereference
@ 2022-11-09  6:18 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-11-09  6:18 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/119594

_apply patch failure_

Submitter: Mingxia Liu <mingxia.liu@intel.com>
Date: Wednesday, November 09 2022 05:17:07 
Applied on: CommitID:a39f5e14560df310e7af3c135a11bb6f51eb92e6
Apply patch set 119594 failed:

Checking patch drivers/common/idpf/base/idpf_common.c...
error: while searching for:
	e->desc.ret_val = msg.status;
	e->desc.datalen = msg.data_len;
	if (msg.data_len > 0) {
		e->buf_len = msg.data_len;
		msg_data_len = msg.data_len;
		idpf_memcpy(e->msg_buf, msg.ctx.indirect.payload->va, msg_data_len,

error: patch failed: drivers/common/idpf/base/idpf_common.c:234
Applying patch drivers/common/idpf/base/idpf_common.c with 1 reject...
Rejected hunk #1.
diff a/drivers/common/idpf/base/idpf_common.c b/drivers/common/idpf/base/idpf_common.c	(rejected hunks)
@@ -234,6 +234,8 @@ int idpf_clean_arq_element(struct idpf_hw *hw,
 	e->desc.ret_val = msg.status;
 	e->desc.datalen = msg.data_len;
 	if (msg.data_len > 0) {
+		if (!msg.ctx.indirect.payload)
+			return -EINVAL;
 		e->buf_len = msg.data_len;
 		msg_data_len = msg.data_len;
 		idpf_memcpy(e->msg_buf, msg.ctx.indirect.payload->va, msg_data_len,

https://lab.dpdk.org/results/dashboard/patchsets/24389/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-09  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09  6:18 |WARNING| pw119594 [PATCH] [v1] common/idpf: fix possible null dereference dpdklab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).