Skip to content

Fix ut-of-bounds read inside norm_inf by returning 0.0 for 0 len arra… #691

Fix ut-of-bounds read inside norm_inf by returning 0.0 for 0 len arra…

Fix ut-of-bounds read inside norm_inf by returning 0.0 for 0 len arra… #691

Workflow file for this run

---
name: Valgrind
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update
- run: sudo apt-get install libopenblas-dev liblapack-dev valgrind
- run: make
- run: make test
- run: valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --show-reachable=yes --error-exitcode=1 out/run_tests_direct
- run: valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --show-reachable=yes --error-exitcode=1 out/run_tests_indirect