RE: [EXTERNAL] [PATCH] crypto/openssl: fix potential string overflow

2024-11-06 Thread Akhil Goyal
> The algorithm name is a string and should be copied with strlcpy() > rather than rte_memcpy(). This fixes a warning detected with > clang and ASAN. > > Bugzilla ID: 1565 > Fixes: 2b9c693f6ef5 ("crypto/openssl: support AES-CMAC operations") > Cc: asek...@marvell.com > > Signed-off-by: Stephen H

[PATCH] crypto/openssl: fix potential string overflow

2024-10-17 Thread Stephen Hemminger
The algorithm name is a string and should be copied with strlcpy() rather than rte_memcpy(). This fixes a warning detected with clang and ASAN. Bugzilla ID: 1565 Fixes: 2b9c693f6ef5 ("crypto/openssl: support AES-CMAC operations") Cc: asek...@marvell.com Signed-off-by: Stephen Hemminger --- driv