get a few more queries in sync with other languages

This commit is contained in:
erik-krogh
2022-10-01 11:17:48 +02:00
parent acfcc4bfe2
commit 129cda00db
9 changed files with 86 additions and 86 deletions

View File

@@ -21,5 +21,5 @@ import DataFlow::PathGraph
// This is a clone of query `java/command-line-injection` that also includes experimental sinks.
from DataFlow::PathNode source, DataFlow::PathNode sink, ArgumentToExec execArg
where execTainted(source, sink, execArg)
select execArg, source, sink, "Command line depends on a $@.", source.getNode(),
select execArg, source, sink, "This command line depends on a $@.", source.getNode(),
"user-provided value"