projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9fdcd0
)
lgtm: drop redundant newlines
author
Evgeny Vereshchagin
<evvers@ya.ru>
Fri, 26 Oct 2018 10:25:36 +0000
(10:25 +0000)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Tue, 19 Feb 2019 12:27:54 +0000
(13:27 +0100)
(cherry picked from commit
845702c63863add5606a7a7f00a959ffdcf89635
)
.lgtm/cpp-queries/fgets.ql
patch
|
blob
|
history
diff --git
a/.lgtm/cpp-queries/fgets.ql
b/.lgtm/cpp-queries/fgets.ql
index 82de8c448288b694a17faaa99b5199e1f9fa6909..a4181e4f3db89504e8d886d7ef6bba97ad18df1d 100644
(file)
--- a/
.lgtm/cpp-queries/fgets.ql
+++ b/
.lgtm/cpp-queries/fgets.ql
@@
-10,13
+10,11
@@
*/
import cpp
-
predicate dangerousFunction(Function function) {
exists (string name | name = function.getQualifiedName() |
name = "fgets")
}
-
from FunctionCall call, Function target
where call.getTarget() = target
and dangerousFunction(target)