aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test/memcpy_x86_64.c
diff options
context:
space:
mode:
authorDmitry Valter <d-valter@yandex-team.com>2024-01-05 17:02:55 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-01-16 22:04:38 +0000
commit0bef4cf39cccb5f162389009a4348d7f000e28fb (patch)
tree1fad09c710316906281530a437c7a2c691ff45ce /src/vppinfra/test/memcpy_x86_64.c
parentebe2371e6a63823cb65ef928369068faf0f51d9a (diff)
vppinfra: fix memcpy test buffer size
Fix dst buffer size in memcpy_x86_64 test. Type: fix Signed-off-by: Dmitry Valter <d-valter@yandex-team.com> Change-Id: I2b4502a62d9346d729b83522f4ea01c98a5b961c
Diffstat (limited to 'src/vppinfra/test/memcpy_x86_64.c')
-rw-r--r--src/vppinfra/test/memcpy_x86_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/test/memcpy_x86_64.c b/src/vppinfra/test/memcpy_x86_64.c
index 9b93bb1cd90..41855c39241 100644
--- a/src/vppinfra/test/memcpy_x86_64.c
+++ b/src/vppinfra/test/memcpy_x86_64.c
@@ -98,7 +98,7 @@ static clib_error_t *
test_clib_memcpy_x86_64 (clib_error_t *err)
{
u8 src[MAX_LEN + 192];
- u8 dst[MAX_LEN + 128];
+ u8 dst[MAX_LEN + 192];
for (int i = 0; i < ARRAY_LEN (src); i++)
src[i] = i & 0x7f;