Skip to content

Commit 2f48cde

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/AllocationToInvalidPointer.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 9a8fb0b commit 2f48cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/AllocationToInvalidPointer.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ private import RangeAnalysisUtil
1313
private VariableAccess getAVariableAccess(Expr e) { e.getAChild*() = result }
1414

1515
/**
16-
* Holds if `(n, state)` pair represents the source of flow for the size
16+
* Holds if the `(n, state)` pair represents the source of flow for the size
1717
* expression associated with `alloc`.
1818
*/
1919
predicate hasSize(HeuristicAllocationExpr alloc, DataFlow::Node n, int state) {

0 commit comments

Comments
 (0)