We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec2592 commit 4079de1Copy full SHA for 4079de1
cpp/ql/lib/semmle/code/cpp/security/flowafterfree/FlowAfterFree.qll
@@ -95,7 +95,7 @@ module FlowFromFree<FlowFromFreeParamSig P> {
95
e = any(StoreInstruction store).getDestinationAddress().getUnconvertedResultExpression()
96
)
97
or
98
- n.asExpr() instanceof ArrayExpr
+ [n.asExpr(), n.asIndirectExpr()] instanceof ArrayExpr
99
}
100
101
0 commit comments