Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3977689 commit 0543ed1Copy full SHA for 0543ed1
1 file changed
cpp/ql/src/Critical/FlowAfterFree.qll
@@ -87,6 +87,8 @@ module FlowFromFree<isSinkSig/2 isASink, isExcludedSig/2 isExcluded> {
87
|
88
e = any(StoreInstruction store).getDestinationAddress().getUnconvertedResultExpression()
89
)
90
+ or
91
+ n.asExpr() instanceof ArrayExpr
92
}
93
94
0 commit comments