From aa99b6f760304d602fa42922e594397aaaef4d27 Mon Sep 17 00:00:00 2001 From: pedro martelletto Date: Mon, 14 Mar 2022 15:48:15 +0100 Subject: [PATCH] [libfido2] install libpcsclite-dev, seed fuzz_pcsc, and bump libcbor (#7379) * [libfido2] install libpcsclite-dev, bump libcbor - install libpcsclite-dev, needed to build the fuzz_pcsc harness; - bump libcbor from 0.8.0 to 0.9.0. * [libfido2] seed initial fuzz_pcsc corpus --- projects/libfido2/Dockerfile | 4 ++-- projects/libfido2/build.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/libfido2/Dockerfile b/projects/libfido2/Dockerfile index 6c6207630..4cc7edc9b 100644 --- a/projects/libfido2/Dockerfile +++ b/projects/libfido2/Dockerfile @@ -16,8 +16,8 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake libtool -RUN apt-get install -y cmake libudev-dev pkg-config chrpath -RUN git clone --depth 1 --branch v0.8.0 https://github.com/PJK/libcbor +RUN apt-get install -y cmake libpcsclite-dev libudev-dev pkg-config chrpath +RUN git clone --depth 1 --branch v0.9.0 https://github.com/PJK/libcbor RUN git clone --depth 1 --branch OpenSSL_1_1_1-stable https://github.com/openssl/openssl RUN git clone --depth 1 --branch v1.2.11 https://github.com/madler/zlib RUN git clone --depth 1 https://github.com/Yubico/libfido2 diff --git a/projects/libfido2/build.sh b/projects/libfido2/build.sh index 6c680e242..6168528bf 100755 --- a/projects/libfido2/build.sh +++ b/projects/libfido2/build.sh @@ -77,3 +77,4 @@ tar xzf ${SRC}/corpus.tgz (set -e ; cd fuzz_largeblob/corpus ; zip -r ${OUT}/fuzz_largeblob_seed_corpus.zip .) (set -e ; cd fuzz_mgmt/corpus ; zip -r ${OUT}/fuzz_mgmt_seed_corpus.zip .) (set -e ; cd fuzz_netlink/corpus ; zip -r ${OUT}/fuzz_netlink_seed_corpus.zip .) +(set -e ; cd fuzz_pcsc/corpus ; zip -r ${OUT}/fuzz_pcsc_seed_corpus.zip .)