Cleared all instances of G115

This commit is contained in:
Jean-Philippe Bossuat
2024-11-28 18:43:24 +01:00
parent 3cd1204ac8
commit 952047663d
36 changed files with 149 additions and 14 deletions

View File

@@ -55,9 +55,9 @@ checks: check_tools
# gosec rule G115: Is exluded because there are int->uin64 conversions
# and the rule currently contains false positives
@GOSECOUT=$$(gosec -quiet -exclude=G115 ./...); \
@GOSECOUT=$$(gosec -quiet ./...); \
if [ -z "$$GOSECOUT" ]; then\
echo "gosec: OK (excluding G115)";\
echo "gosec: OK";\
else \
echo "gosec: problems in files:";\
echo "$$GOSECOUT";\