Skip to content

Commit 19872d5

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

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
@@ -393,7 +393,7 @@ module InvalidPointerToDerefFlow = DataFlow::Global<InvalidPointerToDerefConfig>
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
396-
* as `(p + size) + 1` and `source` is the node representing `(p + size) + 1`. In this
396+
* as `(p + size) + 1` and `derefSource` is the node representing `(p + size) + 1`. In this
397397
* case `delta` is 1.
398398
*/
399399
predicate invalidPointerToDerefSource(

0 commit comments

Comments
 (0)