Skip to content

Commit 35b42ab

Browse files
committed
fuzz: Fix build for broken json-c repo
Current json-c master branch cannot be compiled with clang, until upstream merges the fix, use the last stable branch for fuzzers build.
1 parent 3da919f commit 35b42ab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/fuzz/oss-fuzz-build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ last_commit zlib
5656
[ ! -d xz ] && git clone -q --depth 1 https://github.com/tukaani-project/xz
5757
last_commit xz
5858

59-
[ ! -d json-c ] && git clone -q --depth 1 https://github.com/json-c/json-c.git
59+
# Master branch is broken, use json-c-0.18 for now
60+
[ ! -d json-c ] && git clone -q --depth 1 --branch json-c-0.18 https://github.com/json-c/json-c.git
6061
last_commit json-c
6162

6263
[ ! -d lvm2 ] && git clone -q --depth 1 https://gitlab.com/lvmteam/lvm2

0 commit comments

Comments
 (0)