Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,31 +95,31 @@
matrix.optimized && 'RelWithDebInfo' || 'Debug') }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
submodules: true

- name: Generate build config
run: >-
cmake -S "${{ github.workspace }}" -B "${{ env.CMAKE_BUILD_DIR }}"

Check failure on line 104 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 104 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:104: code injection via template expansion: may expand into attacker-controllable code
-DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }}

Check failure on line 105 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 105 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:105: code injection via template expansion: may expand into attacker-controllable code
-DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/install_test/
-DSNAPPY_FUZZING_BUILD=${{ env.SNAPPY_FUZZING_BUILD }}

Check failure on line 107 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 107 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:107: code injection via template expansion: may expand into attacker-controllable code
-DSNAPPY_REQUIRE_AVX=${{ env.SNAPPY_REQUIRE_AVX }}

Check failure on line 108 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 108 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:108: code injection via template expansion: may expand into attacker-controllable code
-DSNAPPY_REQUIRE_AVX2=${{ env.SNAPPY_REQUIRE_AVX2 }}

Check failure on line 109 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 109 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:109: code injection via template expansion: may expand into attacker-controllable code

- name: Build
run: >-
cmake --build "${{ env.CMAKE_BUILD_DIR }}"

Check failure on line 113 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 113 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:113: code injection via template expansion: may expand into attacker-controllable code
--config "${{ env.CMAKE_BUILD_TYPE }}"

Check failure on line 114 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 114 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:114: code injection via template expansion: may expand into attacker-controllable code

- name: Run C++ API Tests
run: ${{ env.BINARY_PATH }}snappy_unittest${{ env.BINARY_SUFFIX }}

Check failure on line 117 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 117 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 117 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:117: code injection via template expansion: may expand into attacker-controllable code

Check failure on line 117 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:117: code injection via template expansion: may expand into attacker-controllable code

- name: Run Compression Fuzzer
if: ${{ env.SNAPPY_FUZZING_BUILD == '1' }}
run: >-
${{ env.BINARY_PATH }}snappy_compress_fuzzer${{ env.BINARY_SUFFIX }}

Check failure on line 122 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

template-injection

build.yml:122: code injection via template expansion: may expand into attacker-controllable code
-runs=1000 -close_fd_mask=3

- name: Run Decompression Fuzzer
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/riscv64-qemu-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: riscv64-qemu-test

on: [push, pull_request]

permissions: read-all

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -11,7 +13,7 @@ jobs:
RISCV_PATH: /opt/riscv

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive

Expand Down
Loading