dnsdist: Fix a crash when a selector or policy cannot be found #13457
Workflow file for this run
This file contains hidden or 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: CIFuzz | |
| on: [pull_request] | |
| permissions: # least privileges, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions | |
| contents: read | |
| jobs: | |
| Fuzzing: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 5 | |
| submodules: recursive | |
| persist-credentials: false | |
| - run: docker build -t gcr.io/oss-fuzz-base/base-builder:latest -f Dockerfile-cifuzz . | |
| - name: Build Fuzzers | |
| uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master | |
| with: | |
| oss-fuzz-project-name: 'powerdns' | |
| dry-run: false | |
| - name: Run Fuzzers | |
| uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master | |
| with: | |
| oss-fuzz-project-name: 'powerdns' | |
| fuzz-seconds: 600 | |
| dry-run: false | |
| - name: Upload Crash | |
| uses: actions/upload-artifact@v5 | |
| if: failure() | |
| with: | |
| name: artifacts | |
| path: ./out/artifacts |