From 93399a38b7132adbf51e31cb0150b867f61bae40 Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 12 Apr 2021 14:27:33 +0200 Subject: [PATCH] typo --- src/main/scala/io/joern/scanners/java/SQLInjection.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/io/joern/scanners/java/SQLInjection.scala b/src/main/scala/io/joern/scanners/java/SQLInjection.scala index acf6656..83256d7 100644 --- a/src/main/scala/io/joern/scanners/java/SQLInjection.scala +++ b/src/main/scala/io/joern/scanners/java/SQLInjection.scala @@ -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) )