Add check for null pointers in yr_lex_parse_rules_bytes and yr_lex_pa… #277
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: Coverity | |
on: | |
push: | |
branches: [master] | |
jobs: | |
coverity: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
autoconf \ | |
automake \ | |
gcc-multilib \ | |
libtool \ | |
libjansson-dev \ | |
libmagic-dev \ | |
libssl-dev | |
- name: Prepare for building | |
run: | | |
./bootstrap.sh | |
./configure | |
- uses: vapier/coverity-scan-action@v1 | |
with: | |
project: 'plusvic/yara' | |
email: ${{ secrets.COVERITY_SCAN_EMAIL }} | |
token: ${{ secrets.COVERITY_SCAN_TOKEN }} |