[Bug]: --enable-sp=yes,asm
causes crashes when AVX support is missing
#7976
Labels
--enable-sp=yes,asm
causes crashes when AVX support is missing
#7976
Contact Details
Here, on GitHub, preferrably.
Version
5.7.2
Description
Running HAProxy with wolfSSL configured with
enable-sp=yes,asm
causes HAProxy to coredump on startup if AVX/AVX2 is not supported.The function tripping the coredump is
sp_256_get_point_33_avx2_4
.Please make sure this is guarded by runtime detection of AVX/AVX2, like AES-NI.
Reproduction steps
--enable-haproxy --enable-quic --enable-reproducible-build --enable-bigcache --enable-sp=yes,asm --enable-sp-math-all --enable-harden --enable-intelasm --enable-aesni
Relevant log output
No response
The text was updated successfully, but these errors were encountered: