From 25e04e30a0cf7646bb5ed5eb1d76707dca5a03f2 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Thu, 25 Nov 2021 16:35:33 +0000 Subject: [PATCH] opensips: change build to avoid cifuzz deleting fuzzers (#6907) --- projects/opensips/Dockerfile | 2 +- projects/opensips/build.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/opensips/Dockerfile b/projects/opensips/Dockerfile index c7b364a42..78d4c5cd7 100755 --- a/projects/opensips/Dockerfile +++ b/projects/opensips/Dockerfile @@ -20,6 +20,6 @@ RUN git clone https://github.com/OpenSIPS/opensips COPY patch.diff $SRC/ COPY build.sh $SRC/ -COPY fuzz_*.c $SRC/opensips/parser/ +COPY fuzz_*.c $SRC/ WORKDIR opensips diff --git a/projects/opensips/build.sh b/projects/opensips/build.sh index 6dc94ea07..3ad4bf5d2 100755 --- a/projects/opensips/build.sh +++ b/projects/opensips/build.sh @@ -17,6 +17,8 @@ git apply --ignore-space-change --ignore-whitespace $SRC/patch.diff +cp $SRC/fuzz_*.c ./parser/ + make static rm main.o