Fix the one "value" complaint from CodeQL and suppress all useless queries.

This commit is contained in:
Michael R Sweet
2022-12-09 11:22:10 -05:00
parent c7101ae9dd
commit 948ee16b06
3 changed files with 20 additions and 7 deletions

19
.github/codeql.yml vendored
View File

@ -1,7 +1,22 @@
paths-ignore:
- 'test*.c'
- 'test**.c'
query-filters:
- exclude:
id: cpp/commented-out-code
- exclude:
id: cpp/toctou-race-condition
- exclude:
id: cpp/weak-cryptographic-algorithm
- exclude:
id: cpp/world-writable-file-creation
- exclude:
id: cpp/uncontrolled-allocation-size
- exclude:
id: cpp/path-injection
- exclude:
id: cpp/stack-address-escape
- exclude:
id: cpp/loop-variable-changed
- exclude:
id: cpp/long-switch