Merge pull request #5256 from MathiasVP/promote-insecure-memset-query

C++: Promote insecure removal of memset query
This commit is contained in:
Jonas Jensen
2021-03-01 08:30:16 +01:00
committed by GitHub
15 changed files with 664 additions and 398 deletions

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* A new query (`cpp/memset-may-be-deleted`) is added to the default query suite. The query finds calls to `memset` that may be removed by the compiler. This behavior can make information-leak vulnerabilities easier to exploit. This query was originally [submitted as an experimental query by @ihsinme](https://github.com/github/codeql/pull/4953).