Skip to content

Commit 65d0ca9

Browse files
committed
Crypto: Simplifying expression for ql-for-ql alert.
1 parent 0394816 commit 65d0ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/experimental/quantum/Examples/BadMacOrder.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module WrapperArgFlowConfig implements DataFlow::ConfigSig {
109109
predicate isBarrierOut(DataFlow::Node node) {
110110
// stop all flow out of a call return
111111
// TODO: this might be too strict and remove taint flow, need to reassess
112-
exists(Call c | c = node.asExpr()) or
112+
node.asExpr() instanceof Call or
113113
node = any(Crypto::FlowAwareElement element).getInputNode()
114114
}
115115

0 commit comments

Comments
 (0)