Skip to content

Commit 997eb1c

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

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
@@ -23,7 +23,7 @@
2323
* configuration (see `InvalidPointerToDerefConfig`).
2424
*
2525
* The dataflow traversal defines the set of sources as any dataflow node `n` such that there exists a pointer-arithmetic
26-
* instruction `pai` found by `AllocationToInvalidPointer.qll` and `n.asInstruction() >= pai + deltaDerefSourceAndPai`.
26+
* instruction `pai` found by `AllocationToInvalidPointer.qll` and a `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.
2929
*

0 commit comments

Comments
 (0)