* [DPDK/cryptodev Bug 1565] Lots of warnings from Clang Asan build in Openssl PMD
@ 2024-10-15 2:51 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-10-15 2:51 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 35736 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1565
Bug ID: 1565
Summary: Lots of warnings from Clang Asan build in Openssl PMD
Product: DPDK
Version: 24.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: cryptodev
Assignee: dev@dpdk.org
Reporter: stephen@networkplumber.org
Target Milestone: ---
This was a build of latest main branch clang and Address Sanitizer reports lots
of warnings in OpenSSL. Given that this is a security related driver setting
severity to high.
$ meson setup -Db_sanitize=address -Db_lundef=false build
...
$ clang --version
Debian clang version 16.0.6 (27+b1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
ninja: Entering directory `build'
[1535/3031] Compiling C object
drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:43,
from ../lib/eal/x86/include/rte_rtm.h:8,
from ../lib/eal/x86/include/rte_spinlock.h:9,
from ../lib/mempool/rte_mempool.h:44,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/cryptodev/rte_crypto.h:15,
from ../lib/cryptodev/rte_cryptodev.h:19,
from ../drivers/crypto/openssl/rte_openssl_pmd.c:7:
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:453:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:453:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘char[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:148:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:160:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:148:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:160:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘char[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:149:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:160:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript 1 is outside array bounds of ‘const char[12]’ [-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:149:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:160:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript 1 is outside array bounds of ‘char[16]’ [-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 32 into
object ‘algo_name’ of size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:148:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:161:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript 2 is outside array bounds of ‘const char[12]’ [-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:148:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:161:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript 2 is outside array bounds of ‘char[16]’ [-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 64 into
object ‘algo_name’ of size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:149:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:161:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript 3 is outside array bounds of ‘const char[12]’ [-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:149:2,
inlined from ‘rte_mov128’ at ../lib/eal/x86/include/rte_memcpy.h:161:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:422:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript 3 is outside array bounds of ‘char[16]’ [-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 96 into
object ‘algo_name’ of size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:148:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:429:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const void[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:148:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:429:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘void[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 16 into
object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 128 into
object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:149:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:429:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript [1, 288230376151711745] is outside array bounds of ‘const void[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_mov64’ at ../lib/eal/x86/include/rte_memcpy.h:149:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:429:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript [1, 288230376151711745] is outside array bounds of ‘void[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 32 into
object ‘algo_name’ of size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 48 into
object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 160 into
object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 32 into
object ‘algo_name’ of size 16
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:440:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const void[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:440:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘void[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [64, 128]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [64, 128]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:434:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript [2, 288230376151711746] is outside array bounds of ‘const void[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:434:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript [2, 288230376151711746] is outside array bounds of ‘void[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 16 into
object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [128, 192]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset 16 into
object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [128, 192]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:435:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript [2, 288230376151711747] is outside array bounds of ‘const void[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:435:4,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript [2, 288230376151711747] is outside array bounds of ‘void[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [1, 16]
into object ‘algo_name’ of size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [17, 81]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [129, 193]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [1, 16]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [17, 81]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [129, 193]
into object ‘algo_name’ of size 16
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [1, 16]
into object ‘algo_name’ of size 16
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:414:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:414:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘char[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:415:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:415:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘char[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [1, 16]
into object ‘algo_name’ of size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In file included from ../lib/eal/x86/include/rte_atomic.h:11,
from ../lib/eal/include/generic/rte_pause.h:19,
from ../lib/eal/x86/include/rte_pause.h:8,
from ../lib/eal/include/generic/rte_spinlock.h:25,
from ../lib/eal/x86/include/rte_spinlock.h:8:
In function ‘_mm_loadu_si128’,
inlined from ‘rte_mov16’ at ../lib/eal/x86/include/rte_memcpy.h:113:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:406:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:706:10: warning: array
subscript ‘__m128i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
706 | return *__P;
| ^~~~
In function ‘_mm_loadu_si128’,
inlined from ‘rte_mov16’ at ../lib/eal/x86/include/rte_memcpy.h:113:9,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:409:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:706:10: warning: array
subscript ‘__m128i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
706 | return *__P;
| ^~~~
In file included from ../lib/mempool/rte_mempool.h:50:
In function ‘rte_mov15_or_less’,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x86/include/rte_memcpy.h:395:10,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:757:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
../lib/eal/x86/include/rte_memcpy.h:95:63: warning: array subscript 6 is
outside array bounds of ‘const char[12]’ [-Warray-bounds=]
95 | ((const struct rte_uint16_alias *)src)->val;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../lib/eal/x86/include/rte_memcpy.h:100:35: warning: array subscript 12 is
outside array bounds of ‘const void[12]’ [-Warray-bounds=]
100 | *(uint8_t *)dst = *(const uint8_t *)src;
| ^~~~~~~~~~~~~~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:730:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:755:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:730:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:755:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘char[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: object ‘algo_name’ of
size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:127:9,
inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:731:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:755:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:929:10: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
929 | return *__P;
| ^~~~
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at ../lib/eal/x86/include/rte_memcpy.h:128:2,
inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:731:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:755:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/avxintrin.h:935:8: warning: array
subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘char[16]’
[-Warray-bounds=]
935 | *__P = __A;
| ~~~~~^~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function
‘openssl_set_session_parameters’:
../drivers/crypto/openssl/rte_openssl_pmd.c:633:14: note: at offset [1, 16]
into object ‘algo_name’ of size 16
633 | char algo_name[MAX_OSSL_ALGO_NAME_SIZE];
| ^~~~~~~~~
In function ‘_mm_loadu_si128’,
inlined from ‘rte_mov16’ at ../lib/eal/x86/include/rte_memcpy.h:113:9,
inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:715:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:755:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:706:10: warning: array
subscript ‘__m128i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
706 | return *__P;
| ^~~~
In function ‘_mm_loadu_si128’,
inlined from ‘rte_mov16’ at ../lib/eal/x86/include/rte_memcpy.h:113:9,
inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:718:3,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:755:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
/usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:706:10: warning: array
subscript ‘__m128i_u[0]’ is partly outside array bounds of ‘const char[12]’
[-Warray-bounds=]
706 | return *__P;
| ^~~~
In function ‘rte_mov15_or_less’,
inlined from ‘rte_memcpy_aligned’ at
../lib/eal/x86/include/rte_memcpy.h:706:10,
inlined from ‘rte_memcpy’ at ../lib/eal/x86/include/rte_memcpy.h:755:10,
inlined from ‘openssl_set_session_auth_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:695:3,
inlined from ‘openssl_set_session_parameters’ at
../drivers/crypto/openssl/rte_openssl_pmd.c:867:9:
../lib/eal/x86/include/rte_memcpy.h:95:63: warning: array subscript 6 is
outside array bounds of ‘const char[12]’ [-Warray-bounds=]
95 | ((const struct rte_uint16_alias *)src)->val;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../lib/eal/x86/include/rte_memcpy.h:100:35: warning: array subscript 12 is
outside array bounds of ‘const void[12]’ [-Warray-bounds=]
100 | *(uint8_t *)dst = *(const uint8_t *)src;
|
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 37623 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-15 2:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-15 2:51 [DPDK/cryptodev Bug 1565] Lots of warnings from Clang Asan build in Openssl PMD bugzilla
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).