Skip to content

Commit 3d5414b

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/src/experimental/Security/CWE/CWE-193/InvalidPointerDeref.ql
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 63c5684 commit 3d5414b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-193/InvalidPointerDeref.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ module InvalidPointerToDerefFlow = DataFlow::Global<InvalidPointerToDerefConfig>
389389

390390
/**
391391
* Holds if `source1` is dataflow node that represents an allocation that flows to the
392-
* left-hand side of the pointer-arithmetic `pai`, and `source` is a dataflow node with
392+
* left-hand side of the pointer-arithmetic `pai`, and `derefSource` is a dataflow node with
393393
* a pointer-value that is non-strictly upper bounded by `pai + delta`.
394394
*
395395
* For example, if `pai` is a pointer-arithmetic operation `p + size` in an expression such

0 commit comments

Comments
 (0)