Skip to content

Commit bed6a98

Browse files
committed
Query to detect LDAP injections in Java
Autoformat
1 parent 00ee3d2 commit bed6a98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/src/Security/CWE/CWE-90/LdapInjection.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ import semmle.code.java.dataflow.FlowSources
1515
import LdapInjectionLib
1616
import DataFlow::PathGraph
1717

18-
from
19-
DataFlow::PathNode source, DataFlow::PathNode sink, LdapInjectionFlowConfig conf
18+
from DataFlow::PathNode source, DataFlow::PathNode sink, LdapInjectionFlowConfig conf
2019
where conf.hasFlowPath(source, sink)
2120
select sink.getNode(), source, sink, "LDAP query might include code from $@.", source.getNode(),
2221
"this user input"

0 commit comments

Comments
 (0)