> -Original Message-
> From: Olivier Matz
> Sent: Tuesday, October 6, 2020 8:42 AM
> To: dev@dpdk.org
> Cc: Kovacevic, Marko ; Akhil Goyal
> ; Zhang, Roy Fan ; Kusztal,
> ArkadiuszX ; sta...@dpdk.org
> Subject: [PATCH 1/3] examples/fips_validation: fix buffer overflow
>
> If the file n
If the file name is larger than MAX_STRING_SIZE (64), strcpy()
will overwrite the content of memory.
Replace strcpy() by rte_strscpy(), check its return value, and
increase file_name size to 256.
Fixes: 3d0fad56b74a ("examples/fips_validation: add crypto FIPS application")
Cc: sta...@dpdk.org
Si
2 matches
Mail list logo