<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Lots of warnings from Clang Asan build in Openssl PMD"
href="https://bugs.dpdk.org/show_bug.cgi?id=1565">1565</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Lots of warnings from Clang Asan build in Openssl PMD
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>24.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>cryptodev
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stephen@networkplumber.org
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">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;
|
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1565">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>