From b2e55225ed658fd1c40ec0cb87cf688a6a1c3330 Mon Sep 17 00:00:00 2001 From: Gabriel Kihlman Date: Tue, 10 Mar 2020 16:41:00 +0100 Subject: [PATCH] [libfido2] Corpus seed moved outside of repo, update build.sh. (#3486) * [libfido2] Corpus moved outside of repo, update build.sh. Fixes fuzzing build failure #21144 * Fetch seed corpus when building the container instead * Use "ADD" instead of "RUN curl" Co-authored-by: Max Moroz --- projects/libfido2/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/libfido2/Dockerfile b/projects/libfido2/Dockerfile index 0b6a1c7ed..2db78fc11 100644 --- a/projects/libfido2/Dockerfile +++ b/projects/libfido2/Dockerfile @@ -21,5 +21,6 @@ RUN apt-get install -y cmake libudev-dev pkg-config chrpath RUN git clone --branch v0.5.0 https://github.com/PJK/libcbor RUN git clone --branch OpenSSL_1_1_1-stable https://github.com/openssl/openssl RUN git clone https://github.com/Yubico/libfido2 +ADD https://ambientworks.net/libfido2/corpus.tgz libfido2/fuzz/corpus.tgz WORKDIR libfido2 COPY build.sh $SRC/