mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
CPP: Autoformat 'Critical'.
This commit is contained in:
@@ -8,9 +8,11 @@
|
||||
* security
|
||||
* external/cwe/cwe-476
|
||||
*/
|
||||
|
||||
import cpp
|
||||
|
||||
from VariableAccess access
|
||||
where maybeNull(access)
|
||||
and dereferenced(access)
|
||||
where
|
||||
maybeNull(access) and
|
||||
dereferenced(access)
|
||||
select access, "Value may be null; it should be checked before dereferencing."
|
||||
|
||||
Reference in New Issue
Block a user