From 15198947a251ad4626ec3a0555701bc0d04df588 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Wed, 27 Apr 2022 11:12:39 -0700 Subject: [PATCH] Update minizip project details (#7633) * [minizip] update repository url * [minizip] update name of development branch * [minizip] fix name of cmake fuzz test option --- projects/minizip/Dockerfile | 4 ++-- projects/minizip/build.sh | 4 ++-- projects/minizip/project.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/projects/minizip/Dockerfile b/projects/minizip/Dockerfile index 3d14fba7a..9263c3e13 100644 --- a/projects/minizip/Dockerfile +++ b/projects/minizip/Dockerfile @@ -17,6 +17,6 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make cmake pkg-config -RUN git clone -b dev https://github.com/nmoinvaz/minizip -WORKDIR minizip +RUN git clone -b develop https://github.com/zlib-ng/minizip-ng +WORKDIR minizip-ng COPY build.sh $SRC/ diff --git a/projects/minizip/build.sh b/projects/minizip/build.sh index f3f5b7621..4e9cd0021 100755 --- a/projects/minizip/build.sh +++ b/projects/minizip/build.sh @@ -16,11 +16,11 @@ ################################################################################ # Build project -cmake . -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" -DMZ_BUILD_FUZZ_TEST=ON +cmake . -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" -DMZ_BUILD_FUZZ_TESTS=ON make clean make -j$(nproc) -# Package seed corpus +# Package seed corpus zip -j $OUT/unzip_fuzzer_seed_corpus.zip test/fuzz/unzip_fuzzer_seed_corpus/* # Copy the fuzzer executables, zip-ed corpora, and dictionary files to $OUT diff --git a/projects/minizip/project.yaml b/projects/minizip/project.yaml index 453540ae6..9eeed4df6 100644 --- a/projects/minizip/project.yaml +++ b/projects/minizip/project.yaml @@ -1,4 +1,4 @@ -homepage: "https://github.com/nmoinvaz/minizip" +homepage: "https://github.com/zlib-ng/minizip-ng" language: c++ primary_contact: "nathan.moinvaziri@gmail.com" sanitizers: @@ -8,4 +8,4 @@ sanitizers: architectures: - x86_64 - i386 -main_repo: 'https://github.com/nmoinvaz/minizip' +main_repo: 'https://github.com/zlib-ng/minizip-ng'