[dpdk-test-report] |WARNING| pw100987 [PATCH] [v3] app: fix buffer overrun

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Mon Oct 11 22:44:07 CEST 2021


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

_apply patch failure_

Submitter: Przemyslaw Zegan <przemyslawx.zegan at intel.com>
Date: Monday, October 11 2021 08:04:52 
Applied on: CommitID:515d20195b17444262a5732831c0615146c7189c
Apply patch set 100987 failed:

Checking patch app/test-crypto-perf/cperf_test_vectors.c...
error: while searching for:
				return NULL;
			}

			if(options->aead_aad_sz > 12)
				options->aead_aad_sz = 12;

			memcpy(t_vec->aad.data, aad, options->aead_aad_sz);
			t_vec->aad.phys_addr = rte_malloc_virt2iova(t_vec->aad.data);

error: patch failed: app/test-crypto-perf/cperf_test_vectors.c:555
Applying patch app/test-crypto-perf/cperf_test_vectors.c with 1 reject...
Rejected hunk #1.
diff a/app/test-crypto-perf/cperf_test_vectors.c b/app/test-crypto-perf/cperf_test_vectors.c	(rejected hunks)
@@ -555,8 +555,8 @@ cperf_test_vector_get_dummy(struct cperf_options *options)
 				return NULL;
 			}
 
-			if(options->aead_aad_sz > 12)
-				options->aead_aad_sz = 12;
+			if(options->aead_aad_sz > sizeof(aad))
+				options->aead_aad_sz = sizeof(aad);
 
 			memcpy(t_vec->aad.data, aad, options->aead_aad_sz);
 			t_vec->aad.phys_addr = rte_malloc_virt2iova(t_vec->aad.data);

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

UNH-IOL DPDK Community Lab


More information about the test-report mailing list