summaryrefslogtreecommitdiffstats
path: root/.lgtm/cpp-queries/PotentiallyDangerousFunction.ql
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-12-02 16:55:17 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-12-02 16:56:54 +0100
commitc7d70210fa45c3210b8b1eda51bc0f6d68bd8392 (patch)
treea853203086d247b7c5956f4c440c88a489b503c1 /.lgtm/cpp-queries/PotentiallyDangerousFunction.ql
parentlgtm: detect uninitialized variables using the __cleanup__ attribute (diff)
downloadsystemd-c7d70210fa45c3210b8b1eda51bc0f6d68bd8392.tar.xz
systemd-c7d70210fa45c3210b8b1eda51bc0f6d68bd8392.zip
lgtm: don't treat the custom note as a list of tags
Just a cosmetic change.
Diffstat (limited to '')
-rw-r--r--.lgtm/cpp-queries/PotentiallyDangerousFunction.ql10
1 files changed, 6 insertions, 4 deletions
diff --git a/.lgtm/cpp-queries/PotentiallyDangerousFunction.ql b/.lgtm/cpp-queries/PotentiallyDangerousFunction.ql
index 865330430d..39e8dddd13 100644
--- a/.lgtm/cpp-queries/PotentiallyDangerousFunction.ql
+++ b/.lgtm/cpp-queries/PotentiallyDangerousFunction.ql
@@ -1,15 +1,17 @@
/**
+ * vi: sw=2 ts=2 et syntax=ql:
+ *
+ * Borrowed from
+ * https://github.com/Semmle/ql/blob/master/cpp/ql/src/Security/CWE/CWE-676/PotentiallyDangerousFunction.ql
+ *
* @name Use of potentially dangerous function
* @description Certain standard library functions are dangerous to call.
+ * @id cpp/potentially-dangerous-function
* @kind problem
* @problem.severity error
* @precision high
- * @id cpp/potentially-dangerous-function
* @tags reliability
* security
- *
- * Borrowed from
- * https://github.com/Semmle/ql/blob/master/cpp/ql/src/Security/CWE/CWE-676/PotentiallyDangerousFunction.ql
*/
import cpp