File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
java/ql/src/experimental/Security/CWE/CWE-759 Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,10 @@ class HashWithoutSaltConfiguration extends TaintTracking::Configuration {
7676 )
7777 }
7878
79- /** Holds for additional steps that flow to a method call of `update` or `digest` declared in `java.security.MessageDigest`. */
79+ /** Holds for additional steps that flow to additional method calls of the type `java.security.MessageDigest`. */
8080 override predicate isAdditionalTaintStep ( DataFlow:: Node pred , DataFlow:: Node succ ) {
8181 exists ( MethodAccess ma |
8282 ma .getMethod ( ) .getDeclaringType ( ) instanceof MessageDigest and
83- ma .getMethod ( ) .hasName ( [ "digest" , "update" ] ) and
8483 pred .asExpr ( ) = ma .getAnArgument ( ) and
8584 ( succ .asExpr ( ) = ma or succ .asExpr ( ) = ma .getQualifier ( ) )
8685 )
You can’t perform that action at this time.
0 commit comments