Skip to content

Commit 1e98a3e

Browse files
committed
tarantool: fix FuzzIntrospector
Related to ossf/fuzz-introspector#2278 Related to #13226
1 parent 1f5c75e commit 1e98a3e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

projects/tarantool/build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ if [[ "$FUZZING_ENGINE" == libfuzzer ]]; then
5252
FUZZER_ARGS="-DENABLE_LIBFUZZER_STATIC_LINKAGE=ON"
5353
fi
5454

55+
# Apply potential fix for the problem described in
56+
# google/oss-fuzz#13226.
57+
# See https://github.com/ossf/fuzz-introspector/pull/2278
58+
if [[ "$SANITIZER" = "introspector" ]]; then
59+
curl -O https://patch-diff.githubusercontent.com/raw/ossf/fuzz-introspector/pull/2278.patch
60+
patch -p1 --directory=/fuzz-introspector/ < 2278.patch
61+
export FUZZ_INTROSPECTOR_PARALLEL=false
62+
fi
63+
5564
cmake_args=(
5665
# Specific to Tarantool
5766
# Tarantool executable binary is needed for running Lua tests,

0 commit comments

Comments
 (0)