fix divide by zero on invalid input data (OSS-Fuzz 373179363) #2257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: go | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
libde265: | |
strategy: | |
matrix: | |
libde265-version: | |
- "1" | |
- "2" | |
env: | |
WITH_LIBDE265: ${{ matrix.libde265-version }} | |
WITH_X265: 1 | |
WITH_GRAPHICS: 1 | |
GO: 1 | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.10" | |
- name: Install dependencies | |
run: | | |
./scripts/install-ci-linux.sh | |
- name: Prepare CI | |
run: | | |
./scripts/prepare-ci.sh | |
- name: Run tests | |
run: | | |
./scripts/run-ci.sh |