From cc276527c786a324fe716a15f4d06a4e85474536 Mon Sep 17 00:00:00 2001 From: "daniel.zatovic" Date: Thu, 6 Oct 2022 23:23:06 +0200 Subject: [PATCH] fuzzing: Disable assembly in openssl build Sanitizers can not instrument openssl's assembly and wrongly report buffers from openssl as uninitialized. --- tests/fuzz/oss-fuzz-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzz/oss-fuzz-build.sh b/tests/fuzz/oss-fuzz-build.sh index 5acd3c6f..0d545cb1 100755 --- a/tests/fuzz/oss-fuzz-build.sh +++ b/tests/fuzz/oss-fuzz-build.sh @@ -52,7 +52,7 @@ in_oss_fuzz && apt-get update && apt-get install -y \ [ ! -d cryptsetup_fuzzing ] && git clone --depth 1 https://gitlab.com/cryptsetup/cryptsetup_fuzzing.git cd openssl -./Configure -static --prefix="$DEPS_PATH" --libdir=lib +./Configure -static --prefix="$DEPS_PATH" --libdir=lib no-asm make build_generated make -j libcrypto.a make install_dev