File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/semmle/code/java/security Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,6 @@ private class SafeSetEndpointIdentificationAlgorithm extends MethodAccess {
60
60
this .getMethod ( ) .hasName ( "setEndpointIdentificationAlgorithm" ) and
61
61
this .getMethod ( ) .getDeclaringType ( ) instanceof SSLParameters and
62
62
not this .getArgument ( 0 ) instanceof NullLiteral and
63
- not this .getArgument ( 0 ) .( CompileTimeConstantExpr ) .getStringValue ( ) . length ( ) = 0
63
+ not this .getArgument ( 0 ) .( CompileTimeConstantExpr ) .getStringValue ( ) = ""
64
64
}
65
65
}
Original file line number Diff line number Diff line change 20
20
exists ( SslEndpointIdentificationFlowConfig config |
21
21
config .hasFlowTo ( DataFlow:: exprNode ( unsafeTrust ) )
22
22
)
23
- select unsafeTrust , "Unsafe configuration of trusted certificates"
23
+ select unsafeTrust , "Unsafe configuration of trusted certificates. "
You can’t perform that action at this time.
0 commit comments