Skip to content

Commit

Permalink
actions/fuzz: additional bump of libcbor to 0.10.1
Browse files Browse the repository at this point in the history
While here, bump the version of the fuzzing Docker image.
  • Loading branch information
LDVG committed Jan 3, 2023
1 parent 2027cc1 commit 0721653
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .actions/build-linux-i686-w64-mingw32-gcc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Copyright (c) 2022-2023 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause
Expand All @@ -23,7 +23,7 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
EOF

# Build and install libcbor.
git clone --depth=1 https://github.com/pjk/libcbor -b v0.9.0
git clone --depth=1 https://github.com/pjk/libcbor -b v0.10.1
cd libcbor
mkdir build
(cd build && cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/mingw.cmake \
Expand Down
4 changes: 2 additions & 2 deletions .actions/build-linux-openssl3-i686-w64-mingw32-gcc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Copyright (c) 2022-2023 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause
Expand All @@ -23,7 +23,7 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
EOF

# Build and install libcbor.
git clone --depth=1 https://github.com/pjk/libcbor -b v0.9.0
git clone --depth=1 https://github.com/pjk/libcbor -b v0.10.1
cd libcbor
mkdir build
(cd build && cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/mingw.cmake \
Expand Down
4 changes: 2 additions & 2 deletions fuzz/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2022 Yubico AB. All rights reserved.
# Copyright (c) 2019-2023 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause
Expand All @@ -10,7 +10,7 @@ RUN apk -q update
RUN apk add build-base clang clang-analyzer cmake compiler-rt coreutils
RUN apk add eudev-dev git linux-headers llvm openssl-dev pcsc-lite-dev
RUN apk add sudo tar zlib-dev
RUN git clone --branch v0.9.0 --depth=1 https://github.com/PJK/libcbor
RUN git clone --branch v0.10.1 --depth=1 https://github.com/PJK/libcbor
RUN git clone --depth=1 https://github.com/yubico/libfido2
WORKDIR /libfido2
RUN ./fuzz/build-coverage /libcbor /libfido2
4 changes: 2 additions & 2 deletions fuzz/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright (c) 2019-2022 Yubico AB. All rights reserved.
# Copyright (c) 2019-2023 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

IMAGE := libfido2-coverage:1.13.0
IMAGE := libfido2-coverage:1.13.1
RUNNER := libfido2-runner
PROFDATA := llvm-profdata
COV := llvm-cov
Expand Down

0 comments on commit 0721653

Please sign in to comment.