From d5f62adaae4e0a8267b63648cced2d2661ff8e97 Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Thu, 12 Jan 2023 21:13:48 +0100 Subject: [PATCH] suricata: do not run MSAN for branch 6 (#9412) Follows #9391 to fix FPs https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55027 --- projects/suricata/build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/suricata/build.sh b/projects/suricata/build.sh index 2c403f3d2..6d0b51063 100755 --- a/projects/suricata/build.sh +++ b/projects/suricata/build.sh @@ -82,7 +82,13 @@ then export RUSTFLAGS="$RUSTFLAGS -Cdebug-assertions=yes" fi -for branch in "" 6; do +fuzz_branches=("") +if [[ "$SANITIZER" != "memory" ]] +then + fuzz_branches+=("6") +fi + +for branch in "${fuzz_branches[@]}"; do #we did not put libhtp there before so that cifuzz does not remove it cp -r libhtp suricata$branch/ # build project