Skip to content

Commit 2caad67

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* in `AllocationToInvalidPointer.qll` are actually being dereferenced. We do this using a regular dataflow
2323
* configuration (see `InvalidPointerToDerefConfig`).
2424
*
25-
* This dataflow traversal defines the set of sources as any dataflow node `n` such that there exists a pointer-arithmetic
25+
* The dataflow traversal defines the set of sources as any dataflow node `n` such that there exists a pointer-arithmetic
2626
* instruction `pai` found by `AllocationToInvalidPointer.qll` and `n.asInstruction() >= pai + deltaDerefSourceAndPai`.
2727
* Here, `deltaDerefSourceAndPai` is the constant difference between the source we track for finding a dereference and the
2828
* pointer-arithmetic instruction.

0 commit comments

Comments
 (0)