fix buffer overflow for trim() with image wider than high #377
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: test-linux | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
imager: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: install dependencies | |
run: | | |
sudo apt-get update ||: | |
sudo apt-get -y install build-essential libtiff-dev libpng-dev libgif-dev libfreetype6-dev libjpeg-dev libtest-pod-coverage-perl libtest-pod-perl libpod-parser-perl libpod-spell-perl aspell libinline-c-perl libparse-recdescent-perl cpanminus | |
# prerequisites for Inline::CPP | |
sudo apt-get -y install libcapture-tiny-perl libmodule-build-perl | |
sudo cpanm Inline::CPP | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: configure | |
run: | | |
perl Makefile.PL | |
- name: build | |
run: | | |
make -j2 | |
- name: test | |
run: | | |
HARNESS_OPTIONS=j2 IMAGER_AUTHOR_TESTING=1 make test |