Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko committed Apr 12, 2021
1 parent e29736e commit 93399a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/io/joern/scanners/java/SQLInjection.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ object SQLInjection extends QueryBundle {
"org.springframework.web.servlet.ModelAndView"))
.parameter

def sinks = cpg.method.name("query").parameter.order(1)
def sink = cpg.method.name("query").parameter.order(1)

// sinks where the first argument is reachable by a source
sinks.reachableBy(source).l
sink.reachableBy(source).l
}),
tags = List(QueryTags.sqli, QueryTags.sqlInjection)
)
Expand Down

0 comments on commit 93399a3

Please sign in to comment.