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