We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9c22fd commit c95295aCopy full SHA for c95295a
ql/src/experimental/CWE-326/InsufficientKeySize.ql
@@ -17,9 +17,7 @@ import DataFlow::PathGraph
17
class RsaKeyTrackingConfiguration extends DataFlow::Configuration {
18
RsaKeyTrackingConfiguration() { this = "RsaKeyTrackingConfiguration" }
19
20
- override predicate isSource(DataFlow::Node source) {
21
- source.asExpr().(ValueExpr).getIntValue() < 2048
22
- }
+ override predicate isSource(DataFlow::Node source) { source.getIntValue() < 2048 }
23
24
override predicate isSink(DataFlow::Node sink) {
25
exists(DataFlow::CallNode c |
0 commit comments